1# 2# AR91XX -- Kernel configuration base file for the Atheros AR913x SoC. 3# 4# This file (and the hints file accompanying it) are not designed to be 5# used by themselves. Instead, users of this file should create a kernel 6# config file which includes this file (which gets the basic hints), then 7# override the default options (adding devices as needed) and adding 8# hints as needed (for example, the GPIO and LAN PHY.) 9# 10# $FreeBSD: releng/10.2/sys/mips/conf/AR91XX_BASE 266331 2014-05-17 17:34:37Z ian $ 11# 12 13machine mips mips 14ident AR91XX_BASE 15cpu CPU_MIPS4KC 16makeoptions KERNLOADADDR=0x80050000 17options HZ=1000 18 19files "../atheros/files.ar71xx" 20hints "AR91XX_BASE.hints" 21 22makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23makeoptions 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_ahb hwpmc" 24 25options DDB 26options KDB 27options ALQ 28 29options SCHED_4BSD #4BSD scheduler 30options INET #InterNETworking 31options INET6 #InterNETworking 32#options NFSCL #Network Filesystem Client 33options PSEUDOFS #Pseudo-filesystem framework 34options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 35 36# PMC 37options HWPMC_HOOKS 38device hwpmc 39device hwpmc_mips24k 40 41# options NFS_LEGACYRPC 42# Debugging for use in -current 43options INVARIANTS 44options INVARIANT_SUPPORT 45options WITNESS 46options WITNESS_SKIPSPIN 47options FFS #Berkeley Fast Filesystem 48#options SOFTUPDATES #Enable FFS soft updates support 49#options UFS_ACL #Support for access control lists 50#options UFS_DIRHASH #Improve performance on big directories 51options NO_FFS_SNAPSHOT # We don't require snapshot support 52 53# Wireless NIC cards 54options IEEE80211_DEBUG 55options IEEE80211_SUPPORT_MESH 56options IEEE80211_SUPPORT_TDMA 57options IEEE80211_ALQ # 802.11 ALQ logging support 58device wlan # 802.11 support 59device wlan_wep # 802.11 WEP support 60device wlan_ccmp # 802.11 CCMP support 61device wlan_tkip # 802.11 TKIP support 62device wlan_xauth # 802.11 hostap support 63 64# ath(4) 65device ath # Atheros network device 66device ath_rate_sample 67device ath_ahb # Atheros host bus glue 68options ATH_DEBUG 69options ATH_DIAGAPI 70option ATH_ENABLE_11N 71option AH_DEBUG_ALQ 72 73# Don't bother compiling the whole HAL - AH_SUPPORT_AR9130 breaks the 74# rest of the 11n chipset support at the moment and the pre-AR5212 75# HALs aren't required. 76# device ath_hal 77 78# The AR9130 code requires AR5416; and AR5416 requires the AR5212 code. 79device ath_ar5212 80device ath_ar5416 81device ath_ar9130 82 83options AH_DEBUG 84option AH_SUPPORT_AR5416 85option AH_SUPPORT_AR9130 # Makes other chipsets not function! 86option AH_DEBUG_ALQ 87# interrupt mitigation not possible on AR9130 88# option AH_AR5416_INTERRUPT_MITIGATION 89 90device mii 91device arge 92 93device usb 94options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 95options USB_DEBUG 96options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 97device ehci 98 99device scbus 100device umass 101device da 102 103device spibus 104device ar71xx_spi 105device mx25l 106device ar71xx_wdog 107 108device uart 109device uart_ar71xx 110 111device loop 112device ether 113device md 114device bpf 115device random 116device if_bridge 117device gpio 118device gpioled 119