1# These are the base base bits shared between all of the various Atheros
2# MIPS bases.
3#
4# This allows a shared set of configuration and drivers to be built for
5# all of the Atheros MIPS platforms without a lot of configuration file
6# duplication.
7#
8# $FreeBSD$
9
10# debugging
11options 	EARLY_PRINTF
12options 	ALT_BREAK_TO_DEBUGGER
13
14# For small memory footprints
15options 	VM_KMEM_SIZE_SCALE=1
16options 	UMTX_CHAINS=16
17options 	NBUF=128
18# Don't include the SCSI/CAM strings in the default build
19options 	SCSI_NO_SENSE_STRINGS
20options 	SCSI_NO_OP_STRINGS
21# .. And no sysctl strings
22options 	NO_SYSCTL_DESCR
23
24makeoptions 	MODULES_OVERRIDE+="gpio ar71xx if_gif if_vlan if_gre if_tuntap"
25makeoptions 	MODULES_OVERRIDE+="if_bridge bridgestp usb"
26makeoptions 	MODULES_OVERRIDE+="alq"
27
28# net80211
29options 	IEEE80211_DEBUG
30options 	IEEE80211_SUPPORT_MESH
31options 	IEEE80211_SUPPORT_TDMA
32options 	IEEE80211_SUPPORT_SUPERG
33options 	IEEE80211_ALQ   # 802.11 ALQ logging support
34
35makeoptions 	MODULES_OVERRIDE+="wlan wlan_xauth wlan_acl wlan_wep"
36makeoptions 	MODULES_OVERRIDE+="wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr"
37
38# firewalling
39options 	IPFIREWALL_DEFAULT_TO_ACCEPT
40
41makeoptions 	MODULES_OVERRIDE+="ipfw ipfw_nat libalias ipfw_nptv6"
42
43# USB wifi device drivers
44makeoptions 	MODULES_OVERRIDE+="rtwn rtwn_usb rtwnfw"
45makeoptions	MODULES_OVERRIDE+="otus otusfw"
46
47# Atheros wifi device drivers
48options 	ATH_DEBUG
49options 	ATH_DIAGAPI
50options 	ATH_ENABLE_11N
51options 	ATH_ENABLE_DFS
52
53options 	AH_DEBUG_ALQ
54options 	AH_DEBUG
55options 	AH_AR5416_INTERRUPT_MITIGATION
56options 	AH_RXCFG_SDMAMW_4BYTES
57
58makeoptions 	MODULES_OVERRIDE+="ath_main ath_pci ath_ahb ath_rate ath_dfs"
59makeoptions 	MODULES_OVERRIDE+="ath_hal_ar5210 ath_hal_ar5211"
60makeoptions 	MODULES_OVERRIDE+="ath_hal_ar5212 ath_hal_ar5416"
61makeoptions 	MODULES_OVERRIDE+="ath_hal_ar9300 ath_hal"
62
63# USB configuration
64options 	USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
65options 	USB_DEBUG
66options 	USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
67
68# Ethernet configuration
69device 		mii
70device 		arge
71options 	ARGE_DEBUG
72
73# SPI, flash
74device 		spibus
75device 		ar71xx_spi
76device 		mx25l
77device 		ar71xx_wdog
78
79# Serial driver
80device 		uart
81
82# Networking
83device 		loop
84device 		ether
85device 		md
86device 		bpf
87#device 		if_bridge
88
89# GPIO - normally it's okay as a module
90#device 		gpio
91#device 		gpioled
92
93