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