1# 2# QCA953x -- Kernel configuration base file for the Qualcomm Atheros QCA953x 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 QCA953X_BASE 15cpu CPU_MIPS24K 16makeoptions KERNLOADADDR=0x80050000 17options HZ=1000 18 19files "../atheros/files.ar71xx" 20hints "QCA953X_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" 24 25options DDB 26options KDB 27options ALQ 28options BREAK_TO_DEBUGGER 29options ALT_BREAK_TO_DEBUGGER 30 31options SCHED_4BSD #4BSD scheduler 32options INET #InterNETworking 33#options INET6 #InterNETworking 34#options NFSCL #Network Filesystem Client 35options PSEUDOFS #Pseudo-filesystem framework 36options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 37 38# Don't include the SCSI/CAM strings in the default build 39options SCSI_NO_SENSE_STRINGS 40options SCSI_NO_OP_STRINGS 41 42# .. And no sysctl strings 43options NO_SYSCTL_DESCR 44 45# For small memory footprints 46options VM_KMEM_SIZE_SCALE=1 47 48# Limit IO size 49options NBUF=128 50 51# Limit UMTX hash size 52# options UMTX_NUM_CHAINS=64 53 54#options UMA_DEBUG_ALLOC 55 56# PMC 57options HWPMC_HOOKS 58#options HWPMC_MIPS_BACKTRACE 59device hwpmc 60device hwpmc_mips24k 61 62options ARGE_DEBUG 63 64# options NFS_LEGACYRPC 65# Debugging for use in -current 66options INVARIANTS 67options INVARIANT_SUPPORT 68options WITNESS 69options WITNESS_SKIPSPIN 70options FFS #Berkeley Fast Filesystem 71#options SOFTUPDATES #Enable FFS soft updates support 72#options UFS_ACL #Support for access control lists 73#options UFS_DIRHASH #Improve performance on big directories 74options NO_FFS_SNAPSHOT # We don't require snapshot support 75 76options IPFIREWALL_DEFAULT_TO_ACCEPT 77 78# Wireless NIC cards 79options IEEE80211_DEBUG 80options IEEE80211_SUPPORT_MESH 81options IEEE80211_SUPPORT_TDMA 82options IEEE80211_SUPPORT_SUPERG 83options IEEE80211_ALQ # 802.11 ALQ logging support 84device wlan # 802.11 support 85device wlan_wep # 802.11 WEP support 86device wlan_ccmp # 802.11 CCMP support 87device wlan_tkip # 802.11 TKIP support 88device wlan_xauth # 802.11 hostap support 89 90# ath(4) 91device ath # Atheros network device 92device ath_rate_sample 93device ath_ahb # Atheros host bus glue 94options ATH_DEBUG 95options ATH_DIAGAPI 96option ATH_ENABLE_11N 97option AH_DEBUG_ALQ 98 99#device ath_hal 100device ath_ar9300 # AR9330 HAL; no need for the others 101option AH_DEBUG 102option AH_SUPPORT_AR5416 # 11n HAL support 103option AH_SUPPORT_QCA9530 # Chipset support 104option AH_AR5416_INTERRUPT_MITIGATION 105 106device mii 107device arge 108 109device usb 110options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 111options USB_DEBUG 112options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 113device ehci 114 115device scbus 116device umass 117device da 118 119device spibus 120device ar71xx_spi 121device mx25l 122device ar71xx_wdog 123 124# Handle 25MHz refclock by allowing a higher baudrate error tolerance. 125device uart 126device uart_ar71xx 127options UART_DEV_TOLERANCE_PCT=50 128 129device ar71xx_apb 130 131device loop 132device ether 133device md 134device bpf 135device random 136device if_bridge 137device gpio 138device gpioled 139