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