summaryrefslogtreecommitdiff
path: root/sys/mips/conf/std.AR_MIPS_BASE
blob: ab0947a391ea9adf8cb3cb3d4a0fc64c91fe5ae1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# These are the base base bits shared between all of the various Atheros
# MIPS bases.
#
# This allows a shared set of configuration and drivers to be built for
# all of the Atheros MIPS platforms without a lot of configuration file
# duplication.
#
# $FreeBSD$

# debugging
options 	EARLY_PRINTF
options 	ALT_BREAK_TO_DEBUGGER

# For small memory footprints
options 	VM_KMEM_SIZE_SCALE=1
options 	UMTX_CHAINS=16
options 	NBUF=128
# Don't include the SCSI/CAM strings in the default build
options 	SCSI_NO_SENSE_STRINGS
options 	SCSI_NO_OP_STRINGS
# .. And no sysctl strings
options 	NO_SYSCTL_DESCR

makeoptions 	MODULES_OVERRIDE+="gpio ar71xx if_gif if_vlan if_gre if_tuntap"
makeoptions 	MODULES_OVERRIDE+="if_bridge bridgestp usb"
makeoptions 	MODULES_OVERRIDE+="alq"

# net80211
options 	IEEE80211_DEBUG
options 	IEEE80211_SUPPORT_MESH
options 	IEEE80211_SUPPORT_TDMA
options 	IEEE80211_SUPPORT_SUPERG
options 	IEEE80211_ALQ   # 802.11 ALQ logging support

makeoptions 	MODULES_OVERRIDE+="wlan wlan_xauth wlan_acl wlan_wep"
makeoptions 	MODULES_OVERRIDE+="wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr"

# firewalling
options 	IPFIREWALL_DEFAULT_TO_ACCEPT

makeoptions 	MODULES_OVERRIDE+="ipfw ipfw_nat libalias ipfw_nptv6"

# USB wifi device drivers
makeoptions 	MODULES_OVERRIDE+="rtwn rtwn_usb rtwnfw"
makeoptions	MODULES_OVERRIDE+="otus otusfw"

# Atheros wifi device drivers
options 	ATH_DEBUG
options 	ATH_DIAGAPI
options 	ATH_ENABLE_11N
options 	ATH_ENABLE_DFS

options 	AH_DEBUG_ALQ
options 	AH_DEBUG
options 	AH_AR5416_INTERRUPT_MITIGATION
options 	AH_RXCFG_SDMAMW_4BYTES

makeoptions 	MODULES_OVERRIDE+="ath_main ath_pci ath_ahb ath_rate ath_dfs"
makeoptions 	MODULES_OVERRIDE+="ath_hal_ar5210 ath_hal_ar5211"
makeoptions 	MODULES_OVERRIDE+="ath_hal_ar5212 ath_hal_ar5416"
makeoptions 	MODULES_OVERRIDE+="ath_hal_ar9300 ath_hal"

# USB configuration
options 	USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
options 	USB_DEBUG
options 	USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this

# Ethernet configuration
device 		mii
device 		arge
options 	ARGE_DEBUG

# SPI, flash
device 		spibus
device 		ar71xx_spi
device 		mx25l
device 		ar71xx_wdog

# Serial driver
device 		uart

# Networking
device 		loop
device 		ether
device 		md
device 		bpf
#device 		if_bridge

# GPIO - normally it's okay as a module
#device 		gpio
#device 		gpioled