AR71XX_BASE revision 230152
1#
2# AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems
3#
4# This includes all the common drivers for the AR71XX boards along with
5# the usb, net80211 and atheros driver code.
6#
7# $FreeBSD: head/sys/mips/conf/AR71XX_BASE 230152 2012-01-15 19:43:56Z adrian $
8#
9
10machine		mips mipseb
11ident		AR71XX_BASE
12cpu		CPU_MIPS4KC
13options 	ISA_MIPS32
14makeoptions	TARGET_BIG_ENDIAN
15makeoptions	KERNLOADADDR=0x80050000
16options		HZ=1000
17options		HWPMC_HOOKS
18
19files		"../atheros/files.ar71xx"
20
21# For now, hints are per-board.
22
23hints		"AR71XX_BASE.hints"
24
25makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
26
27# Build these as modules so small platform builds will have the
28# modules already built.
29makeoptions	MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci"
30
31options		DDB
32options		KDB
33
34options		SCHED_4BSD		#4BSD scheduler
35options		INET			#InterNETworking
36options		INET6			# IPv6
37
38# options		NFS_CL		#Network Filesystem Client
39
40options		PSEUDOFS		#Pseudo-filesystem framework
41options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
42
43# options		NFS_LEGACYRPC
44# Debugging for use in -current
45options		INVARIANTS
46options		INVARIANT_SUPPORT
47options		WITNESS
48options		WITNESS_SKIPSPIN
49options		DEBUG_REDZONE
50options		DEBUG_MEMGUARD
51
52options         FFS                     #Berkeley Fast Filesystem
53# options         SOFTUPDATES             #Enable FFS soft updates support
54# options         UFS_ACL                 #Support for access control lists
55# options         UFS_DIRHASH             #Improve performance on big directories
56# options		MSDOSFS			# Read MSDOS filesystems; useful for USB/CF
57
58device		pci
59device		ar71xx_pci
60
61# 802.11 framework
62options		IEEE80211_DEBUG
63options		IEEE80211_ALQ
64options		IEEE80211_SUPPORT_MESH
65# This option is currently broken for if_ath_tx.
66options		IEEE80211_SUPPORT_TDMA
67options		IEEE80211_AMPDU_AGE
68device		wlan            # 802.11 support
69device		wlan_wep        # 802.11 WEP support
70device		wlan_ccmp       # 802.11 CCMP support
71device		wlan_tkip       # 802.11 TKIP support
72device		wlan_xauth	# 802.11 hostap support
73
74# Atheros wireless NICs
75device		ath             # Atheros interface support
76device		ath_pci		# Atheros PCI/Cardbus bus
77options 	ATH_DEBUG
78options		ATH_DIAGAPI
79options		ATH_ENABLE_11N
80options		AH_DEBUG
81options		AH_DEBUG_ALQ
82options		ALQ
83device		ath_hal
84option		AH_SUPPORT_AR5416
85device		ath_rate_sample
86option		AH_RXCFG_SDMAMW_4BYTES
87option		AH_AR5416_INTERRUPT_MITIGATION
88# There's no DFS radar detection support yet so this won't actually
89# detect radars.  It however does enable the rest of the channel change
90# machinery so DFS can be debugged.
91option		ATH_ENABLE_DFS
92
93device		mii
94device		arge
95
96device		usb
97options		USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
98options		USB_DEBUG
99options		USB_HOST_ALIGN=32		# AR71XX (MIPS in general?) requires this
100device		ehci
101
102device		scbus
103device		umass
104device		da
105
106# On-board SPI flash
107device		spibus
108device		ar71xx_spi
109device		mx25l
110device		ar71xx_wdog
111
112device		uart
113
114device		loop
115device		ether
116device		md
117device		bpf
118device		random
119device		if_bridge
120device		gif		# ip[46] in ip[46] tunneling protocol
121device		gre		# generic encapsulation - only for IPv4 in IPv4 though atm
122
123options		ARGE_DEBUG	# Enable if_arge debugging for now
124
125# Enable GPIO
126device		gpio
127device		gpioled
128