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 15295151Sadriancpu CPU_MIPS24K 16248853Sadrianmakeoptions KERNLOADADDR=0x80050000 17263301Simpoptions HZ=1000 18248853Sadrian 19248853Sadrianfiles "../atheros/files.ar71xx" 20248853Sadrianhints "AR933X_BASE.hints" 21248853Sadrian 22248853Sadrianmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23300000Sadrianmakeoptions 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" 24248853Sadrian 25263301Simpoptions DDB 26263301Simpoptions KDB 27248853Sadrianoptions ALQ 28248853Sadrian 29263301Simpoptions SCHED_4BSD #4BSD scheduler 30263301Simpoptions INET #InterNETworking 31263301Simp#options INET6 #InterNETworking 32263301Simp#options NFSCL #Network Filesystem Client 33263301Simpoptions PSEUDOFS #Pseudo-filesystem framework 34263301Simpoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 35248853Sadrian 36248853Sadrian# Don't include the SCSI/CAM strings in the default build 37248853Sadrianoptions SCSI_NO_SENSE_STRINGS 38248853Sadrianoptions SCSI_NO_OP_STRINGS 39248853Sadrian 40248853Sadrian# .. And no sysctl strings 41248853Sadrianoptions NO_SYSCTL_DESCR 42248853Sadrian 43289533Ssbruno# For small memory footprints 44289533Ssbrunooptions VM_KMEM_SIZE_SCALE=1 45289533Ssbruno 46248853Sadrian# Limit IO size 47263301Simpoptions NBUF=128 48248853Sadrian 49248853Sadrian# Limit UMTX hash size 50263301Simp# options UMTX_NUM_CHAINS=64 51248853Sadrian 52248853Sadrian# PMC 53263301Simp#options HWPMC_HOOKS 54248853Sadrian#device hwpmc 55248853Sadrian#device hwpmc_mips24k 56248853Sadrian 57263301Simp# options NFS_LEGACYRPC 58248853Sadrian# Debugging for use in -current 59263301Simp#options INVARIANTS 60263301Simp#options INVARIANT_SUPPORT 61263301Simp#options WITNESS 62263301Simp#options WITNESS_SKIPSPIN 63263301Simpoptions FFS #Berkeley Fast Filesystem 64263301Simp#options SOFTUPDATES #Enable FFS soft updates support 65263301Simp#options UFS_ACL #Support for access control lists 66263301Simp#options UFS_DIRHASH #Improve performance on big directories 67263301Simpoptions NO_FFS_SNAPSHOT # We don't require snapshot support 68248853Sadrian 69280335Sadrianoptions IPFIREWALL_DEFAULT_TO_ACCEPT 70280335Sadrian 71248853Sadrian# Wireless NIC cards 72263301Simpoptions IEEE80211_DEBUG 73263301Simpoptions IEEE80211_SUPPORT_MESH 74263301Simpoptions IEEE80211_SUPPORT_TDMA 75263301Simpoptions IEEE80211_SUPPORT_SUPERG 76248853Sadrianoptions IEEE80211_ALQ # 802.11 ALQ logging support 77252241Sadriandevice wlan # 802.11 support 78252241Sadriandevice wlan_wep # 802.11 WEP support 79252241Sadriandevice wlan_ccmp # 802.11 CCMP support 80252241Sadriandevice wlan_tkip # 802.11 TKIP support 81252241Sadriandevice wlan_xauth # 802.11 hostap support 82248853Sadrian 83248853Sadrian# ath(4) 84252241Sadriandevice ath # Atheros network device 85252241Sadriandevice ath_rate_sample 86252241Sadriandevice ath_ahb # Atheros host bus glue 87248853Sadrianoptions ATH_DEBUG 88263301Simpoptions ATH_DIAGAPI 89248853Sadrianoption ATH_ENABLE_11N 90248853Sadrianoption AH_DEBUG_ALQ 91248853Sadrian 92252241Sadrian#device ath_hal 93252241Sadriandevice ath_ar9300 # AR9330 HAL; no need for the others 94252241Sadrianoption AH_DEBUG 95252241Sadrianoption AH_SUPPORT_AR5416 # 11n HAL support 96252241Sadrianoption AH_SUPPORT_AR9330 # Chipset support 97248853Sadrianoption AH_AR5416_INTERRUPT_MITIGATION 98248853Sadrian 99248853Sadriandevice mii 100248853Sadriandevice arge 101248853Sadrian 102248853Sadriandevice usb 103263301Simpoptions USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 104263301Simpoptions USB_DEBUG 105263301Simpoptions USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 106248853Sadriandevice ehci 107248853Sadrian 108248853Sadriandevice scbus 109248853Sadriandevice umass 110248853Sadriandevice da 111248853Sadrian 112248853Sadriandevice spibus 113248853Sadriandevice ar71xx_spi 114248853Sadriandevice mx25l 115248853Sadriandevice ar71xx_wdog 116248853Sadrian 117248853Sadriandevice uart 118248853Sadriandevice uart_ar933x 119248853Sadrian 120276741Sadriandevice ar71xx_apb 121276741Sadrian 122248853Sadriandevice loop 123248853Sadriandevice ether 124248853Sadriandevice md 125248853Sadriandevice bpf 126248853Sadriandevice random 127248853Sadriandevice if_bridge 128248853Sadriandevice gpio 129248853Sadriandevice gpioled 130