AR91XX_BASE revision 228519
1#
2# AR91XX -- Kernel configuration base file for the Atheros AR913x SoC.
3#
4# This file (and the hints file accompanying it) are not designed to be
5# used by themselves. Instead, users of this file should create a kernel
6# config file which includes this file (which gets the basic hints), then
7# override the default options (adding devices as needed) and adding
8# hints as needed (for example, the GPIO and LAN PHY.)
9#
10# $FreeBSD: head/sys/mips/conf/AR91XX_BASE 228519 2011-12-15 01:05:38Z adrian $
11#
12
13machine         mips mipseb
14ident		AR91XX_BASE
15cpu		CPU_MIPS4KC
16options 	ISA_MIPS32
17makeoptions	KERNLOADADDR=0x80050000
18options		HZ=1000
19
20files		"../atheros/files.ar71xx"
21hints		"AR91XX_BASE.hints"
22
23makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
24makeoptions	MODULES_OVERRIDE=""
25
26options		DDB
27options		KDB
28
29options		SCHED_4BSD		#4BSD scheduler
30options		INET			#InterNETworking
31options		INET6			#InterNETworking
32#options		NFSCL			#Network Filesystem Client
33options		PSEUDOFS		#Pseudo-filesystem framework
34options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
35
36# options		NFS_LEGACYRPC
37# Debugging for use in -current
38options		INVARIANTS
39options		INVARIANT_SUPPORT
40options		WITNESS
41options		WITNESS_SKIPSPIN
42options		FFS                     #Berkeley Fast Filesystem
43#options		SOFTUPDATES             #Enable FFS soft updates support
44#options		UFS_ACL                 #Support for access control lists
45#options		UFS_DIRHASH             #Improve performance on big directories
46options		NO_FFS_SNAPSHOT		# We don't require snapshot support
47
48# Wireless NIC cards
49options		IEEE80211_DEBUG
50options		IEEE80211_SUPPORT_MESH
51options		IEEE80211_SUPPORT_TDMA
52device		wlan            # 802.11 support
53device		wlan_wep        # 802.11 WEP support
54device		wlan_ccmp       # 802.11 CCMP support
55device		wlan_tkip       # 802.11 TKIP support
56device		wlan_xauth	# 802.11 hostap support
57
58# This will come later -adrian
59device		ath             # Atheros pci/cardbus NIC's
60device		ath_rate_sample
61device		ath_ahb
62options 	ATH_DEBUG
63options		ATH_DIAGAPI
64option		ATH_ENABLE_11N
65
66# Don't bother compiling the whole HAL - AH_SUPPORT_AR9130 breaks the
67# rest of the 11n chipset support at the moment and the pre-AR5212
68# HALs aren't required.
69# device		ath_hal
70
71# The AR9130 code requires AR5416; and AR5416 requires the AR5212 code.
72device		ath_ar5212
73device		ath_ar5416
74device		ath_ar9130
75# This is needed so at least one RF backend is present, or the current
76# HAL setup won't compile.  Remove this once the 11n chip RF backends
77# are converted over to be in the linker set.
78device		ath_rf5111
79
80options		AH_DEBUG
81option		AH_SUPPORT_AR5416
82option		AH_SUPPORT_AR9130	# Makes other chipsets not function!
83# interrupt mitigation not possible on AR9130
84# option		AH_AR5416_INTERRUPT_MITIGATION
85
86device		mii
87device		arge
88
89device		usb
90options		USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
91options		USB_DEBUG
92options		USB_HOST_ALIGN=32		# AR71XX (MIPS in general?) requires this
93device		ehci
94
95device		scbus
96device		umass
97device		da
98
99device		spibus
100device		ar71xx_spi
101device		mx25l
102device		ar71xx_wdog
103
104device		uart
105
106device		loop
107device		ether
108device		md
109device		bpf
110device		random
111device		if_bridge
112device		gpio
113device		gpioled
114