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
29
30options 	SCHED_4BSD		#4BSD scheduler
31options 	INET			#InterNETworking
32#options 	INET6			#InterNETworking
33options 	TCP_HHOOK		# hhook(9) framework for TCP
34#options 	NFSCL			#Network Filesystem Client
35options 	PSEUDOFS		#Pseudo-filesystem framework
36options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
37
38# PMC
39options 	HWPMC_HOOKS
40
41# options 	NFS_LEGACYRPC
42# Debugging for use in -current
43options 	INVARIANTS
44options 	INVARIANT_SUPPORT
45options 	WITNESS
46options 	WITNESS_SKIPSPIN
47options 	FFS                     #Berkeley Fast Filesystem
48#options 	SOFTUPDATES             #Enable FFS soft updates support
49#options 	UFS_ACL                 #Support for access control lists
50#options 	UFS_DIRHASH             #Improve performance on big directories
51options 	NO_FFS_SNAPSHOT		# We don't require snapshot support
52
53include		"std.AR_MIPS_BASE"
54makeoptions 	MODULES_OVERRIDE+="hwpmc_mips24k"
55
56# EEPROM caldata for AHB connected device
57options 	AR71XX_ATH_EEPROM
58device 		ar71xx_caldata
59device 		firmware
60
61# Support QCA9530 in the HAL
62options 	AH_SUPPORT_QCA9530	# Chipset support
63
64# Support EEPROM caldata in AHB devices
65options 	ATH_EEPROM_FIRMWARE
66
67device		usb
68device		ehci
69
70device		scbus
71device		umass
72device		da
73
74# Handle 25MHz refclock by allowing a higher baudrate error tolerance.
75device		uart_ar71xx
76options		UART_DEV_TOLERANCE_PCT=50
77
78device		ar71xx_apb
79
80