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$ 11# 12 13machine mips mips 14ident AR933X_BASE 15cpu CPU_MIPS24K 16makeoptions KERNLOADADDR=0x80050000 17options HZ=1000 18 19files "../atheros/files.ar71xx" 20hints "AR933X_BASE.hints" 21 22makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw urtwn urtwnfw otus otusfw" 24 25options DDB 26options KDB 27options ALQ 28 29options SCHED_4BSD #4BSD scheduler 30options INET #InterNETworking 31#options 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# Don't include the SCSI/CAM strings in the default build 37options SCSI_NO_SENSE_STRINGS 38options SCSI_NO_OP_STRINGS 39 40# .. And no sysctl strings 41options NO_SYSCTL_DESCR 42 43# For small memory footprints 44options VM_KMEM_SIZE_SCALE=1 45 46# Limit IO size 47options NBUF=128 48 49# Limit UMTX hash size 50# options UMTX_NUM_CHAINS=64 51 52# PMC 53#options HWPMC_HOOKS 54#device hwpmc 55#device hwpmc_mips24k 56 57# options NFS_LEGACYRPC 58# Debugging for use in -current 59#options INVARIANTS 60#options INVARIANT_SUPPORT 61#options WITNESS 62#options WITNESS_SKIPSPIN 63options FFS #Berkeley Fast Filesystem 64#options SOFTUPDATES #Enable FFS soft updates support 65#options UFS_ACL #Support for access control lists 66#options UFS_DIRHASH #Improve performance on big directories 67options NO_FFS_SNAPSHOT # We don't require snapshot support 68 69options IPFIREWALL_DEFAULT_TO_ACCEPT 70 71# Wireless NIC cards 72options IEEE80211_DEBUG 73options IEEE80211_SUPPORT_MESH 74options IEEE80211_SUPPORT_TDMA 75options IEEE80211_SUPPORT_SUPERG 76options IEEE80211_ALQ # 802.11 ALQ logging support 77device wlan # 802.11 support 78device wlan_wep # 802.11 WEP support 79device wlan_ccmp # 802.11 CCMP support 80device wlan_tkip # 802.11 TKIP support 81device wlan_xauth # 802.11 hostap support 82 83# ath(4) 84device ath # Atheros network device 85device ath_rate_sample 86device ath_ahb # Atheros host bus glue 87options ATH_DEBUG 88options ATH_DIAGAPI 89option ATH_ENABLE_11N 90option AH_DEBUG_ALQ 91 92#device ath_hal 93device ath_ar9300 # AR9330 HAL; no need for the others 94option AH_DEBUG 95option AH_SUPPORT_AR5416 # 11n HAL support 96option AH_SUPPORT_AR9330 # Chipset support 97option AH_AR5416_INTERRUPT_MITIGATION 98 99device mii 100device arge 101 102device usb 103options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 104options USB_DEBUG 105options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 106device ehci 107 108device scbus 109device umass 110device da 111 112device spibus 113device ar71xx_spi 114device mx25l 115device ar71xx_wdog 116 117device uart 118device uart_ar933x 119 120device ar71xx_apb 121 122device loop 123device ether 124device md 125device bpf 126device random 127device if_bridge 128device gpio 129device gpioled 130