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