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_tap" 25makeoptions MODULES_OVERRIDE+="if_tun if_bridge bridgestp usb" 26makeoptions MODULES_OVERRIDE+="alq" 27 28# Random - required during early boot! 29device random 30 31# net80211 32options IEEE80211_DEBUG 33options IEEE80211_SUPPORT_MESH 34options IEEE80211_SUPPORT_TDMA 35options IEEE80211_SUPPORT_SUPERG 36options IEEE80211_ALQ # 802.11 ALQ logging support 37 38makeoptions MODULES_OVERRIDE+="wlan wlan_xauth wlan_acl wlan_wep" 39makeoptions MODULES_OVERRIDE+="wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr" 40 41# firewalling 42options IPFIREWALL_DEFAULT_TO_ACCEPT 43 44makeoptions MODULES_OVERRIDE+="ipfw ipfw_nat libalias ipfw_nptv6" 45 46# USB wifi device drivers 47makeoptions MODULES_OVERRIDE+="rtwn rtwn_usb rtwnfw" 48makeoptions MODULES_OVERRIDE+="otus otusfw" 49 50# Atheros wifi device drivers 51options ATH_DEBUG 52options ATH_DIAGAPI 53options ATH_ENABLE_11N 54options ATH_ENABLE_DFS 55 56options AH_DEBUG_ALQ 57options AH_DEBUG 58options AH_SUPPORT_AR5416 59options AH_AR5416_INTERRUPT_MITIGATION 60options AH_RXCFG_SDMAMW_4BYTES 61 62makeoptions MODULES_OVERRIDE+="ath_main ath_pci ath_ahb ath_rate ath_dfs" 63makeoptions MODULES_OVERRIDE+="ath_hal_ar5210 ath_hal_ar5211" 64makeoptions MODULES_OVERRIDE+="ath_hal_ar5212 ath_hal_ar5416" 65makeoptions MODULES_OVERRIDE+="ath_hal_ar9300 ath_hal" 66 67# USB configuration 68options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 69options USB_DEBUG 70options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 71 72# Ethernet configuration 73device mii 74device arge 75options ARGE_DEBUG 76 77# SPI, flash 78device spibus 79device ar71xx_spi 80device mx25l 81device ar71xx_wdog 82 83# Serial driver 84device uart 85 86# Networking 87device loop 88device ether 89device md 90device bpf 91#device if_bridge 92 93# GPIO - normally it's okay as a module 94#device gpio 95#device gpioled 96 97