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/11.0/sys/mips/conf/AR91XX_BASE 295503 2016-02-11 06:23:02Z adrian $ 11# 12 13machine mips mips 14ident AR91XX_BASE 15cpu CPU_MIPS24K 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="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 29# For small memory footprints 30options VM_KMEM_SIZE_SCALE=1 31 32options SCHED_4BSD #4BSD scheduler 33options INET #InterNETworking 34options INET6 #InterNETworking 35#options NFSCL #Network Filesystem Client 36options PSEUDOFS #Pseudo-filesystem framework 37options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 38 39# PMC 40options HWPMC_HOOKS 41device hwpmc 42device hwpmc_mips24k 43 44# options NFS_LEGACYRPC 45# Debugging for use in -current 46options INVARIANTS 47options INVARIANT_SUPPORT 48options WITNESS 49options WITNESS_SKIPSPIN 50options FFS #Berkeley Fast Filesystem 51#options SOFTUPDATES #Enable FFS soft updates support 52#options UFS_ACL #Support for access control lists 53#options UFS_DIRHASH #Improve performance on big directories 54options NO_FFS_SNAPSHOT # We don't require snapshot support 55 56# Wireless NIC cards 57options IEEE80211_DEBUG 58options IEEE80211_SUPPORT_MESH 59options IEEE80211_SUPPORT_TDMA 60options IEEE80211_ALQ # 802.11 ALQ logging support 61device wlan # 802.11 support 62device wlan_wep # 802.11 WEP support 63device wlan_ccmp # 802.11 CCMP support 64device wlan_tkip # 802.11 TKIP support 65device wlan_xauth # 802.11 hostap support 66 67# ath(4) 68device ath # Atheros network device 69device ath_rate_sample 70device ath_ahb # Atheros host bus glue 71options ATH_DEBUG 72options ATH_DIAGAPI 73option ATH_ENABLE_11N 74 75# Don't bother compiling the whole HAL - AH_SUPPORT_AR9130 breaks the 76# rest of the 11n chipset support at the moment and the pre-AR5212 77# HALs aren't required. 78# device ath_hal 79 80# The AR9130 code requires AR5416; and AR5416 requires the AR5212 code. 81device ath_ar5212 82device ath_ar5416 83device ath_ar9130 84 85options AH_DEBUG 86option AH_SUPPORT_AR5416 87option AH_SUPPORT_AR9130 # Makes other chipsets not function! 88option AH_DEBUG_ALQ 89# interrupt mitigation not possible on AR9130 90# option AH_AR5416_INTERRUPT_MITIGATION 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 105device spibus 106device ar71xx_spi 107device mx25l 108device ar71xx_wdog 109 110device uart 111device uart_ar71xx 112 113device ar71xx_apb 114 115device loop 116device ether 117device md 118device bpf 119device random 120device if_bridge 121device gpio 122device gpioled 123