AR71XX_BASE revision 228944
1228944Sadrian# 2228944Sadrian# AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems 3228944Sadrian# 4228944Sadrian# This includes all the common drivers for the AR71XX boards along with 5228944Sadrian# the usb, net80211 and atheros driver code. 6228944Sadrian# 7228944Sadrian# $FreeBSD: head/sys/mips/conf/AR71XX_BASE 228944 2011-12-29 05:51:48Z adrian $ 8228944Sadrian# 9228944Sadrian 10228944Sadrianmachine mips mipseb 11228944Sadrianident AR71XX_BASE 12228944Sadriancpu CPU_MIPS4KC 13228944Sadrianoptions ISA_MIPS32 14228944Sadrianmakeoptions TARGET_BIG_ENDIAN 15228944Sadrianmakeoptions KERNLOADADDR=0x80050000 16228944Sadrianoptions HZ=1000 17228944Sadrianoptions HWPMC_HOOKS 18228944Sadrian 19228944Sadrianfiles "../atheros/files.ar71xx" 20228944Sadrian 21228944Sadrian# For now, hints are per-board. 22228944Sadrian 23228944Sadrianhints "AR71XX_BASE.hints" 24228944Sadrian 25228944Sadrianmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 26228944Sadrian 27228944Sadrian# Also build these as modules, just to ensure the build gets tested. 28228944Sadrianmakeoptions MODULES_OVERRIDE="wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp ath ath_pci" 29228944Sadrian 30228944Sadrianoptions DDB 31228944Sadrianoptions KDB 32228944Sadrian 33228944Sadrianoptions SCHED_4BSD #4BSD scheduler 34228944Sadrianoptions INET #InterNETworking 35228944Sadrianoptions INET6 # IPv6 36228944Sadrian 37228944Sadrian# options NFS_CL #Network Filesystem Client 38228944Sadrian 39228944Sadrianoptions PSEUDOFS #Pseudo-filesystem framework 40228944Sadrianoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 41228944Sadrian 42228944Sadrian# options NFS_LEGACYRPC 43228944Sadrian# Debugging for use in -current 44228944Sadrianoptions INVARIANTS 45228944Sadrianoptions INVARIANT_SUPPORT 46228944Sadrianoptions WITNESS 47228944Sadrianoptions WITNESS_SKIPSPIN 48228944Sadrianoptions DEBUG_REDZONE 49228944Sadrianoptions DEBUG_MEMGUARD 50228944Sadrian 51228944Sadrianoptions FFS #Berkeley Fast Filesystem 52228944Sadrian# options SOFTUPDATES #Enable FFS soft updates support 53228944Sadrian# options UFS_ACL #Support for access control lists 54228944Sadrian# options UFS_DIRHASH #Improve performance on big directories 55228944Sadrian# options MSDOSFS # Read MSDOS filesystems; useful for USB/CF 56228944Sadrian 57228944Sadriandevice pci 58228944Sadriandevice ar71xx_pci 59228944Sadrian 60228944Sadrian# 802.11 framework 61228944Sadrianoptions IEEE80211_DEBUG 62228944Sadrianoptions IEEE80211_ALQ 63228944Sadrianoptions IEEE80211_SUPPORT_MESH 64228944Sadrian# This option is currently broken for if_ath_tx. 65228944Sadrianoptions IEEE80211_SUPPORT_TDMA 66228944Sadrianoptions IEEE80211_AMPDU_AGE 67228944Sadriandevice wlan # 802.11 support 68228944Sadriandevice wlan_wep # 802.11 WEP support 69228944Sadriandevice wlan_ccmp # 802.11 CCMP support 70228944Sadriandevice wlan_tkip # 802.11 TKIP support 71228944Sadriandevice wlan_xauth # 802.11 hostap support 72228944Sadrian 73228944Sadrian# Atheros wireless NICs 74228944Sadriandevice ath # Atheros interface support 75228944Sadriandevice ath_pci # Atheros PCI/Cardbus bus 76228944Sadrianoptions ATH_DEBUG 77228944Sadrianoptions ATH_DIAGAPI 78228944Sadrianoptions ATH_ENABLE_11N 79228944Sadrianoptions AH_DEBUG 80228944Sadrianoptions AH_DEBUG_ALQ 81228944Sadrianoptions ALQ 82228944Sadriandevice ath_hal 83228944Sadrianoption AH_SUPPORT_AR5416 84228944Sadriandevice ath_rate_sample 85228944Sadrianoption AH_RXCFG_SDMAMW_4BYTES 86228944Sadrianoption AH_AR5416_INTERRUPT_MITIGATION 87228944Sadrian# There's no DFS radar detection support yet so this won't actually 88228944Sadrian# detect radars. It however does enable the rest of the channel change 89228944Sadrian# machinery so DFS can be debugged. 90228944Sadrianoption ATH_ENABLE_DFS 91228944Sadrian 92228944Sadriandevice mii 93228944Sadriandevice arge 94228944Sadrian 95228944Sadriandevice usb 96228944Sadrianoptions USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 97228944Sadrianoptions USB_DEBUG 98228944Sadrianoptions USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 99228944Sadriandevice ehci 100228944Sadrian 101228944Sadriandevice scbus 102228944Sadriandevice umass 103228944Sadriandevice da 104228944Sadrian 105228944Sadrian# On-board SPI flash 106228944Sadriandevice spibus 107228944Sadriandevice ar71xx_spi 108228944Sadriandevice mx25l 109228944Sadriandevice ar71xx_wdog 110228944Sadrian 111228944Sadriandevice uart 112228944Sadrian 113228944Sadriandevice loop 114228944Sadriandevice ether 115228944Sadriandevice md 116228944Sadriandevice bpf 117228944Sadriandevice random 118228944Sadriandevice if_bridge 119228944Sadriandevice gif # ip[46] in ip[46] tunneling protocol 120228944Sadriandevice gre # generic encapsulation - only for IPv4 in IPv4 though atm 121228944Sadrian 122228944Sadrianoptions ARGE_DEBUG # Enable if_arge debugging for now 123