1220295Sadrian# 2220295Sadrian# AR91XX -- Kernel configuration base file for the Atheros AR913x SoC. 3220295Sadrian# 4220295Sadrian# This file (and the hints file accompanying it) are not designed to be 5220295Sadrian# used by themselves. Instead, users of this file should create a kernel 6220295Sadrian# config file which includes this file (which gets the basic hints), then 7220295Sadrian# override the default options (adding devices as needed) and adding 8220295Sadrian# hints as needed (for example, the GPIO and LAN PHY.) 9220295Sadrian# 10220295Sadrian# $FreeBSD: releng/10.2/sys/mips/conf/AR91XX_BASE 266331 2014-05-17 17:34:37Z ian $ 11220295Sadrian# 12220295Sadrian 13233644Sjmallettmachine mips mips 14220295Sadrianident AR91XX_BASE 15220295Sadriancpu CPU_MIPS4KC 16220295Sadrianmakeoptions KERNLOADADDR=0x80050000 17266331Sianoptions HZ=1000 18220295Sadrian 19220295Sadrianfiles "../atheros/files.ar71xx" 20220295Sadrianhints "AR91XX_BASE.hints" 21220295Sadrian 22220295Sadrianmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23253845Sobrienmakeoptions 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" 24220295Sadrian 25266331Sianoptions DDB 26266331Sianoptions KDB 27232887Sadrianoptions ALQ 28220295Sadrian 29266331Sianoptions SCHED_4BSD #4BSD scheduler 30266331Sianoptions INET #InterNETworking 31266331Sianoptions INET6 #InterNETworking 32266331Sian#options NFSCL #Network Filesystem Client 33266331Sianoptions PSEUDOFS #Pseudo-filesystem framework 34266331Sianoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 35220295Sadrian 36232887Sadrian# PMC 37266331Sianoptions HWPMC_HOOKS 38235346Sadriandevice hwpmc 39243180Sadriandevice hwpmc_mips24k 40232887Sadrian 41266331Sian# options NFS_LEGACYRPC 42220295Sadrian# Debugging for use in -current 43266331Sianoptions INVARIANTS 44266331Sianoptions INVARIANT_SUPPORT 45266331Sianoptions WITNESS 46266331Sianoptions WITNESS_SKIPSPIN 47266331Sianoptions FFS #Berkeley Fast Filesystem 48266331Sian#options SOFTUPDATES #Enable FFS soft updates support 49266331Sian#options UFS_ACL #Support for access control lists 50266331Sian#options UFS_DIRHASH #Improve performance on big directories 51266331Sianoptions NO_FFS_SNAPSHOT # We don't require snapshot support 52220295Sadrian 53220295Sadrian# Wireless NIC cards 54266331Sianoptions IEEE80211_DEBUG 55266331Sianoptions IEEE80211_SUPPORT_MESH 56266331Sianoptions IEEE80211_SUPPORT_TDMA 57232887Sadrianoptions IEEE80211_ALQ # 802.11 ALQ logging support 58221164Sadriandevice wlan # 802.11 support 59221164Sadriandevice wlan_wep # 802.11 WEP support 60221164Sadriandevice wlan_ccmp # 802.11 CCMP support 61221164Sadriandevice wlan_tkip # 802.11 TKIP support 62221164Sadriandevice wlan_xauth # 802.11 hostap support 63220295Sadrian 64232887Sadrian# ath(4) 65232887Sadriandevice ath # Atheros network device 66221164Sadriandevice ath_rate_sample 67232887Sadriandevice ath_ahb # Atheros host bus glue 68220295Sadrianoptions ATH_DEBUG 69266331Sianoptions ATH_DIAGAPI 70221164Sadrianoption ATH_ENABLE_11N 71232887Sadrianoption AH_DEBUG_ALQ 72221164Sadrian 73227920Sadrian# Don't bother compiling the whole HAL - AH_SUPPORT_AR9130 breaks the 74227920Sadrian# rest of the 11n chipset support at the moment and the pre-AR5212 75227920Sadrian# HALs aren't required. 76227920Sadrian# device ath_hal 77221164Sadrian 78227920Sadrian# The AR9130 code requires AR5416; and AR5416 requires the AR5212 code. 79227920Sadriandevice ath_ar5212 80227920Sadriandevice ath_ar5416 81227920Sadriandevice ath_ar9130 82227920Sadrian 83266331Sianoptions AH_DEBUG 84220295Sadrianoption AH_SUPPORT_AR5416 85221164Sadrianoption AH_SUPPORT_AR9130 # Makes other chipsets not function! 86232887Sadrianoption AH_DEBUG_ALQ 87221164Sadrian# interrupt mitigation not possible on AR9130 88221164Sadrian# option AH_AR5416_INTERRUPT_MITIGATION 89220295Sadrian 90220295Sadriandevice mii 91220295Sadriandevice arge 92220295Sadrian 93220295Sadriandevice usb 94266331Sianoptions USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 95266331Sianoptions USB_DEBUG 96266331Sianoptions USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 97220295Sadriandevice ehci 98220295Sadrian 99220295Sadriandevice scbus 100220295Sadriandevice umass 101220295Sadriandevice da 102220295Sadrian 103220295Sadriandevice spibus 104220295Sadriandevice ar71xx_spi 105220295Sadriandevice mx25l 106220295Sadriandevice ar71xx_wdog 107220295Sadrian 108220295Sadriandevice uart 109243177Sadriandevice uart_ar71xx 110220295Sadrian 111220295Sadriandevice loop 112220295Sadriandevice ether 113220295Sadriandevice md 114220295Sadriandevice bpf 115220295Sadriandevice random 116220295Sadriandevice if_bridge 117228519Sadriandevice gpio 118228519Sadriandevice gpioled 119