xref: /f-stack/freebsd/mips/conf/AR71XX_BASE (revision 22ce4aff)
1a9643ea8Slogwang#
2a9643ea8Slogwang# AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems
3a9643ea8Slogwang#
4a9643ea8Slogwang# This includes all the common drivers for the AR71XX boards along with
5a9643ea8Slogwang# the usb, net80211 and atheros driver code.
6a9643ea8Slogwang#
7a9643ea8Slogwang# $FreeBSD$
8a9643ea8Slogwang#
9a9643ea8Slogwang
10a9643ea8Slogwangmachine		mips mips
11a9643ea8Slogwangident		AR71XX_BASE
12a9643ea8Slogwangcpu		CPU_MIPS24K
13a9643ea8Slogwangmakeoptions	KERNLOADADDR=0x80050000
14a9643ea8Slogwangoptions 	HZ=1000
15a9643ea8Slogwangoptions 	HWPMC_HOOKS
16a9643ea8Slogwang
17a9643ea8Slogwangfiles		"../atheros/files.ar71xx"
18a9643ea8Slogwang
19a9643ea8Slogwang# For now, hints are per-board.
20a9643ea8Slogwang
21a9643ea8Slogwanghints		"AR71XX_BASE.hints"
22a9643ea8Slogwang
23a9643ea8Slogwangmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
24a9643ea8Slogwang
25a9643ea8Slogwangoptions 	DDB
26a9643ea8Slogwangoptions 	KDB
27a9643ea8Slogwang
28a9643ea8Slogwangoptions 	SCHED_4BSD		#4BSD scheduler
29a9643ea8Slogwangoptions 	INET			#InterNETworking
30a9643ea8Slogwangoptions 	INET6			# IPv6
31*22ce4affSfengbojiangoptions 	TCP_HHOOK		# hhook(9) framework for TCP
32a9643ea8Slogwang
33a9643ea8Slogwang# options 	NFSCL		#Network Filesystem Client
34a9643ea8Slogwang
35a9643ea8Slogwangoptions 	PSEUDOFS		#Pseudo-filesystem framework
36a9643ea8Slogwangoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
37a9643ea8Slogwang
38a9643ea8Slogwang# options 	NFS_LEGACYRPC
39a9643ea8Slogwang# Debugging for use in -current
40a9643ea8Slogwangoptions 	INVARIANTS
41a9643ea8Slogwangoptions 	INVARIANT_SUPPORT
42a9643ea8Slogwangoptions 	WITNESS
43a9643ea8Slogwangoptions 	WITNESS_SKIPSPIN
44a9643ea8Slogwangoptions 	DEBUG_REDZONE
45a9643ea8Slogwangoptions 	DEBUG_MEMGUARD
46a9643ea8Slogwang
47a9643ea8Slogwangoptions         FFS                     #Berkeley Fast Filesystem
48a9643ea8Slogwang# options         SOFTUPDATES             #Enable FFS soft updates support
49a9643ea8Slogwang# options         UFS_ACL                 #Support for access control lists
50a9643ea8Slogwang# options         UFS_DIRHASH             #Improve performance on big directories
51a9643ea8Slogwang# options 	MSDOSFS			# Read MSDOS filesystems; useful for USB/CF
52a9643ea8Slogwang
53*22ce4affSfengbojianginclude 	"std.AR_MIPS_BASE"
54*22ce4affSfengbojiangmakeoptions 	MODULES_OVERRIDE+="hwpmc_mips24k"
55*22ce4affSfengbojiang
56a9643ea8Slogwangdevice		pci
57a9643ea8Slogwangdevice		ar71xx_pci
58a9643ea8Slogwang
59a9643ea8Slogwangdevice		usb
60a9643ea8Slogwangdevice		ehci
61a9643ea8Slogwang
62a9643ea8Slogwangdevice		scbus
63a9643ea8Slogwangdevice		umass
64a9643ea8Slogwangdevice		da
65a9643ea8Slogwang
66a9643ea8Slogwangdevice		uart_ar71xx
67a9643ea8Slogwangdevice		ar71xx_apb
68