1248853Sadrian# 2248853Sadrian# AR91XX -- Kernel configuration base file for the Atheros AR913x SoC. 3248853Sadrian# 4248853Sadrian# This file (and the hints file accompanying it) are not designed to be 5248853Sadrian# used by themselves. Instead, users of this file should create a kernel 6248853Sadrian# config file which includes this file (which gets the basic hints), then 7248853Sadrian# override the default options (adding devices as needed) and adding 8248853Sadrian# hints as needed (for example, the GPIO and LAN PHY.) 9248853Sadrian# 10248853Sadrian# $FreeBSD$ 11248853Sadrian# 12248853Sadrian 13248853Sadrianmachine mips mips 14248853Sadrianident AR933X_BASE 15248853Sadriancpu CPU_MIPS4KC 16248853Sadrianmakeoptions KERNLOADADDR=0x80050000 17266331Sianoptions HZ=1000 18248853Sadrian 19248853Sadrianfiles "../atheros/files.ar71xx" 20248853Sadrianhints "AR933X_BASE.hints" 21248853Sadrian 22248853Sadrianmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23253845Sobrien# 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" 24248853Sadrianmakeoptions MODULES_OVERRIDE="" 25248853Sadrian 26266331Sianoptions DDB 27266331Sianoptions KDB 28248853Sadrianoptions ALQ 29248853Sadrian 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 36248853Sadrian 37248853Sadrian# Don't include the SCSI/CAM strings in the default build 38248853Sadrianoptions SCSI_NO_SENSE_STRINGS 39248853Sadrianoptions SCSI_NO_OP_STRINGS 40248853Sadrian 41248853Sadrian# .. And no sysctl strings 42248853Sadrianoptions NO_SYSCTL_DESCR 43248853Sadrian 44248853Sadrian# Limit IO size 45266331Sianoptions NBUF=128 46248853Sadrian 47248853Sadrian# Limit UMTX hash size 48266331Sian# options UMTX_NUM_CHAINS=64 49248853Sadrian 50248853Sadrian# PMC 51266331Sian#options HWPMC_HOOKS 52248853Sadrian#device hwpmc 53248853Sadrian#device hwpmc_mips24k 54248853Sadrian 55266331Sian# options NFS_LEGACYRPC 56248853Sadrian# 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 66248853Sadrian 67248853Sadrian# Wireless NIC cards 68266331Sianoptions IEEE80211_DEBUG 69266331Sianoptions IEEE80211_SUPPORT_MESH 70266331Sianoptions IEEE80211_SUPPORT_TDMA 71266331Sianoptions IEEE80211_SUPPORT_SUPERG 72248853Sadrianoptions IEEE80211_ALQ # 802.11 ALQ logging support 73252241Sadriandevice wlan # 802.11 support 74252241Sadriandevice wlan_wep # 802.11 WEP support 75252241Sadriandevice wlan_ccmp # 802.11 CCMP support 76252241Sadriandevice wlan_tkip # 802.11 TKIP support 77252241Sadriandevice wlan_xauth # 802.11 hostap support 78248853Sadrian 79248853Sadrian# ath(4) 80252241Sadriandevice ath # Atheros network device 81252241Sadriandevice ath_rate_sample 82252241Sadriandevice ath_ahb # Atheros host bus glue 83248853Sadrianoptions ATH_DEBUG 84266331Sianoptions ATH_DIAGAPI 85248853Sadrianoption ATH_ENABLE_11N 86248853Sadrianoption AH_DEBUG_ALQ 87248853Sadrian 88252241Sadrian#device ath_hal 89252241Sadriandevice ath_ar9300 # AR9330 HAL; no need for the others 90252241Sadrianoption AH_DEBUG 91252241Sadrianoption AH_SUPPORT_AR5416 # 11n HAL support 92252241Sadrianoption AH_SUPPORT_AR9330 # Chipset support 93252241Sadrianoption AH_DEBUG_ALQ 94248853Sadrianoption AH_AR5416_INTERRUPT_MITIGATION 95248853Sadrian 96248853Sadriandevice mii 97248853Sadriandevice arge 98248853Sadrian 99248853Sadriandevice 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 103248853Sadriandevice ehci 104248853Sadrian 105248853Sadriandevice scbus 106248853Sadriandevice umass 107248853Sadriandevice da 108248853Sadrian 109248853Sadriandevice spibus 110248853Sadriandevice ar71xx_spi 111248853Sadriandevice mx25l 112248853Sadriandevice ar71xx_wdog 113248853Sadrian 114248853Sadriandevice uart 115248853Sadriandevice uart_ar933x 116248853Sadrian 117248853Sadriandevice loop 118248853Sadriandevice ether 119248853Sadriandevice md 120248853Sadriandevice bpf 121248853Sadriandevice random 122248853Sadriandevice if_bridge 123248853Sadriandevice gpio 124248853Sadriandevice gpioled 125