AR71XX_BASE revision 232896
1# 2# AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems 3# 4# This includes all the common drivers for the AR71XX boards along with 5# the usb, net80211 and atheros driver code. 6# 7# $FreeBSD: head/sys/mips/conf/AR71XX_BASE 232896 2012-03-12 21:25:32Z jmallett $ 8# 9 10machine mips mipseb 11ident AR71XX_BASE 12cpu CPU_MIPS4KC 13makeoptions TARGET_BIG_ENDIAN 14makeoptions KERNLOADADDR=0x80050000 15options HZ=1000 16options HWPMC_HOOKS 17 18files "../atheros/files.ar71xx" 19 20# For now, hints are per-board. 21 22hints "AR71XX_BASE.hints" 23 24makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 25 26# Build these as modules so small platform builds will have the 27# modules already built. 28makeoptions MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci" 29 30options DDB 31options KDB 32 33options SCHED_4BSD #4BSD scheduler 34options INET #InterNETworking 35options INET6 # IPv6 36 37# options NFS_CL #Network Filesystem Client 38 39options PSEUDOFS #Pseudo-filesystem framework 40options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 41 42# options NFS_LEGACYRPC 43# Debugging for use in -current 44options INVARIANTS 45options INVARIANT_SUPPORT 46options WITNESS 47options WITNESS_SKIPSPIN 48options DEBUG_REDZONE 49options DEBUG_MEMGUARD 50 51options FFS #Berkeley Fast Filesystem 52# options SOFTUPDATES #Enable FFS soft updates support 53# options UFS_ACL #Support for access control lists 54# options UFS_DIRHASH #Improve performance on big directories 55# options MSDOSFS # Read MSDOS filesystems; useful for USB/CF 56 57device pci 58device ar71xx_pci 59 60# 802.11 framework 61options IEEE80211_DEBUG 62options IEEE80211_ALQ 63options IEEE80211_SUPPORT_MESH 64# This option is currently broken for if_ath_tx. 65options IEEE80211_SUPPORT_TDMA 66options IEEE80211_AMPDU_AGE 67device wlan # 802.11 support 68device wlan_wep # 802.11 WEP support 69device wlan_ccmp # 802.11 CCMP support 70device wlan_tkip # 802.11 TKIP support 71device wlan_xauth # 802.11 hostap support 72 73# Atheros wireless NICs 74device ath # Atheros interface support 75device ath_pci # Atheros PCI/Cardbus bus 76options ATH_DEBUG 77options ATH_DIAGAPI 78options ATH_ENABLE_11N 79options AH_DEBUG 80options AH_DEBUG_ALQ 81options ALQ 82device ath_hal 83option AH_SUPPORT_AR5416 84device ath_rate_sample 85option AH_RXCFG_SDMAMW_4BYTES 86option AH_AR5416_INTERRUPT_MITIGATION 87# There's no DFS radar detection support yet so this won't actually 88# detect radars. It however does enable the rest of the channel change 89# machinery so DFS can be debugged. 90option ATH_ENABLE_DFS 91 92device mii 93device arge 94 95device usb 96options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 97options USB_DEBUG 98options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 99device ehci 100 101device scbus 102device umass 103device da 104 105# On-board SPI flash 106device spibus 107device ar71xx_spi 108device mx25l 109device ar71xx_wdog 110 111device uart 112 113device loop 114device ether 115device md 116device bpf 117device random 118device if_bridge 119device gif # ip[46] in ip[46] tunneling protocol 120device gre # generic encapsulation - only for IPv4 in IPv4 though atm 121 122options ARGE_DEBUG # Enable if_arge debugging for now 123 124# Enable GPIO 125device gpio 126device gpioled 127