1253512Sadrian# 2253512Sadrian# AR91XX -- Kernel configuration base file for the Atheros AR913x SoC. 3253512Sadrian# 4253512Sadrian# This file (and the hints file accompanying it) are not designed to be 5253512Sadrian# used by themselves. Instead, users of this file should create a kernel 6253512Sadrian# config file which includes this file (which gets the basic hints), then 7253512Sadrian# override the default options (adding devices as needed) and adding 8253512Sadrian# hints as needed (for example, the GPIO and LAN PHY.) 9253512Sadrian# 10253512Sadrian# $FreeBSD$ 11253512Sadrian# 12253512Sadrian 13253512Sadrianmachine mips mips 14253512Sadrianident AR934X_BASE 15256173Sadriancpu CPU_MIPS74KC 16253512Sadrianmakeoptions KERNLOADADDR=0x80050000 17266331Sianoptions HZ=1000 18253512Sadrian 19253512Sadrianfiles "../atheros/files.ar71xx" 20253512Sadrianhints "AR934X_BASE.hints" 21253512Sadrian 22253512Sadrianmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23253512Sadrian# makeoptions 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" 24253512Sadrianmakeoptions MODULES_OVERRIDE="" 25253512Sadrian 26266331Sianoptions DDB 27266331Sianoptions KDB 28253512Sadrianoptions ALQ 29253512Sadrian 30266331Sianoptions SCHED_4BSD #4BSD scheduler 31266331Sianoptions INET #InterNETworking 32266331Sian#options INET6 #InterNETworking 33266331Sian#options NFSCL #Network Filesystem Client 34266331Sianoptions PSEUDOFS #Pseudo-filesystem framework 35266331Sianoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 36253512Sadrian 37253512Sadrian# Don't include the SCSI/CAM strings in the default build 38253512Sadrianoptions SCSI_NO_SENSE_STRINGS 39253512Sadrianoptions SCSI_NO_OP_STRINGS 40253512Sadrian 41253512Sadrian# .. And no sysctl strings 42253512Sadrianoptions NO_SYSCTL_DESCR 43253512Sadrian 44253512Sadrian# Limit IO size 45266331Sianoptions NBUF=128 46253512Sadrian 47253512Sadrian# Limit UMTX hash size 48266331Sian# options UMTX_NUM_CHAINS=64 49253512Sadrian 50253512Sadrian# PMC 51266331Sian#options HWPMC_HOOKS 52253512Sadrian#device hwpmc 53253512Sadrian#device hwpmc_mips24k 54253512Sadrian 55266331Sian# options NFS_LEGACYRPC 56253512Sadrian# Debugging for use in -current 57266331Sian#options INVARIANTS 58266331Sian#options INVARIANT_SUPPORT 59266331Sian#options WITNESS 60266331Sian#options WITNESS_SKIPSPIN 61266331Sianoptions FFS #Berkeley Fast Filesystem 62266331Sian#options SOFTUPDATES #Enable FFS soft updates support 63266331Sian#options UFS_ACL #Support for access control lists 64266331Sian#options UFS_DIRHASH #Improve performance on big directories 65266331Sianoptions NO_FFS_SNAPSHOT # We don't require snapshot support 66253512Sadrian 67253512Sadrian# Wireless NIC cards 68266331Sianoptions IEEE80211_DEBUG 69266331Sianoptions IEEE80211_SUPPORT_MESH 70266331Sianoptions IEEE80211_SUPPORT_TDMA 71266331Sianoptions IEEE80211_SUPPORT_SUPERG 72253512Sadrianoptions IEEE80211_ALQ # 802.11 ALQ logging support 73253512Sadriandevice wlan # 802.11 support 74253512Sadriandevice wlan_wep # 802.11 WEP support 75253512Sadriandevice wlan_ccmp # 802.11 CCMP support 76253512Sadriandevice wlan_tkip # 802.11 TKIP support 77253512Sadriandevice wlan_xauth # 802.11 hostap support 78253512Sadrian 79253512Sadrian# ath(4) 80253512Sadriandevice ath # Atheros network device 81253512Sadriandevice ath_rate_sample 82253512Sadriandevice ath_ahb # Atheros host bus glue 83253512Sadrianoptions ATH_DEBUG 84266331Sianoptions ATH_DIAGAPI 85253512Sadrianoption ATH_ENABLE_11N 86253512Sadrianoption AH_DEBUG_ALQ 87253512Sadrian 88253512Sadrian#device ath_hal 89253512Sadriandevice ath_ar9300 # AR9330 HAL; no need for the others 90253512Sadrianoption AH_DEBUG 91253512Sadrianoption AH_SUPPORT_AR5416 # 11n HAL support 92253512Sadrianoption AH_SUPPORT_AR9340 # Chipset support 93253512Sadrianoption AH_DEBUG_ALQ 94253512Sadrianoption AH_AR5416_INTERRUPT_MITIGATION 95253512Sadrian 96253512Sadriandevice mii 97253512Sadriandevice arge 98253512Sadrian 99253512Sadriandevice usb 100266331Sianoptions USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 101266331Sianoptions USB_DEBUG 102266331Sianoptions USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 103253512Sadriandevice ehci 104253512Sadrian 105253512Sadriandevice scbus 106253512Sadriandevice umass 107253512Sadriandevice da 108253512Sadrian 109253512Sadriandevice spibus 110253512Sadriandevice ar71xx_spi 111253512Sadriandevice mx25l 112253512Sadriandevice ar71xx_wdog 113253512Sadrian 114253512Sadriandevice uart 115253512Sadriandevice uart_ar71xx 116253512Sadrian 117253512Sadriandevice loop 118253512Sadriandevice ether 119253512Sadriandevice md 120253512Sadriandevice bpf 121253512Sadriandevice random 122253512Sadriandevice if_bridge 123253512Sadriandevice gpio 124253512Sadriandevice gpioled 125