1a9643ea8Slogwang# 2a9643ea8Slogwang# QCA953x -- Kernel configuration base file for the Qualcomm Atheros QCA953x SoC. 3a9643ea8Slogwang# 4a9643ea8Slogwang# This file (and the hints file accompanying it) are not designed to be 5a9643ea8Slogwang# used by themselves. Instead, users of this file should create a kernel 6a9643ea8Slogwang# config file which includes this file (which gets the basic hints), then 7a9643ea8Slogwang# override the default options (adding devices as needed) and adding 8a9643ea8Slogwang# hints as needed (for example, the GPIO and LAN PHY.) 9a9643ea8Slogwang# 10a9643ea8Slogwang# $FreeBSD$ 11a9643ea8Slogwang# 12a9643ea8Slogwang 13a9643ea8Slogwangmachine mips mips 14a9643ea8Slogwangident QCA953X_BASE 15a9643ea8Slogwangcpu CPU_MIPS24K 16a9643ea8Slogwangmakeoptions KERNLOADADDR=0x80050000 17a9643ea8Slogwangoptions HZ=1000 18a9643ea8Slogwang 19a9643ea8Slogwangfiles "../atheros/files.ar71xx" 20a9643ea8Slogwanghints "QCA953X_BASE.hints" 21a9643ea8Slogwang 22a9643ea8Slogwangmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 23a9643ea8Slogwangmakeoptions 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" 24a9643ea8Slogwang 25a9643ea8Slogwangoptions DDB 26a9643ea8Slogwangoptions KDB 27a9643ea8Slogwangoptions ALQ 28a9643ea8Slogwangoptions BREAK_TO_DEBUGGER 29a9643ea8Slogwang 30a9643ea8Slogwangoptions SCHED_4BSD #4BSD scheduler 31a9643ea8Slogwangoptions INET #InterNETworking 32a9643ea8Slogwang#options INET6 #InterNETworking 33*22ce4affSfengbojiangoptions TCP_HHOOK # hhook(9) framework for TCP 34a9643ea8Slogwang#options NFSCL #Network Filesystem Client 35a9643ea8Slogwangoptions PSEUDOFS #Pseudo-filesystem framework 36a9643ea8Slogwangoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 37a9643ea8Slogwang 38a9643ea8Slogwang# PMC 39a9643ea8Slogwangoptions HWPMC_HOOKS 40a9643ea8Slogwang 41a9643ea8Slogwang# options NFS_LEGACYRPC 42a9643ea8Slogwang# Debugging for use in -current 43a9643ea8Slogwangoptions INVARIANTS 44a9643ea8Slogwangoptions INVARIANT_SUPPORT 45a9643ea8Slogwangoptions WITNESS 46a9643ea8Slogwangoptions WITNESS_SKIPSPIN 47a9643ea8Slogwangoptions FFS #Berkeley Fast Filesystem 48a9643ea8Slogwang#options SOFTUPDATES #Enable FFS soft updates support 49a9643ea8Slogwang#options UFS_ACL #Support for access control lists 50a9643ea8Slogwang#options UFS_DIRHASH #Improve performance on big directories 51a9643ea8Slogwangoptions NO_FFS_SNAPSHOT # We don't require snapshot support 52a9643ea8Slogwang 53*22ce4affSfengbojianginclude "std.AR_MIPS_BASE" 54*22ce4affSfengbojiangmakeoptions MODULES_OVERRIDE+="hwpmc_mips24k" 55a9643ea8Slogwang 56*22ce4affSfengbojiang# EEPROM caldata for AHB connected device 57*22ce4affSfengbojiangoptions AR71XX_ATH_EEPROM 58*22ce4affSfengbojiangdevice ar71xx_caldata 59*22ce4affSfengbojiangdevice firmware 60a9643ea8Slogwang 61*22ce4affSfengbojiang# Support QCA9530 in the HAL 62*22ce4affSfengbojiangoptions AH_SUPPORT_QCA9530 # Chipset support 63a9643ea8Slogwang 64*22ce4affSfengbojiang# Support EEPROM caldata in AHB devices 65*22ce4affSfengbojiangoptions ATH_EEPROM_FIRMWARE 66a9643ea8Slogwang 67a9643ea8Slogwangdevice usb 68a9643ea8Slogwangdevice ehci 69a9643ea8Slogwang 70a9643ea8Slogwangdevice scbus 71a9643ea8Slogwangdevice umass 72a9643ea8Slogwangdevice da 73a9643ea8Slogwang 74a9643ea8Slogwang# Handle 25MHz refclock by allowing a higher baudrate error tolerance. 75a9643ea8Slogwangdevice uart_ar71xx 76a9643ea8Slogwangoptions UART_DEV_TOLERANCE_PCT=50 77a9643ea8Slogwang 78a9643ea8Slogwangdevice ar71xx_apb 79a9643ea8Slogwang 80