1#
2# QCA955X_BASE -- Kernel configuration base file for the Qualcomm Atheros
3# QCA955x SoC.
4#
5# This file (and the hints file accompanying it) are not designed to be
6# used by themselves. Instead, users of this file should create a kernel
7# config file which includes this file (which gets the basic hints), then
8# override the default options (adding devices as needed) and adding
9# hints as needed (for example, the GPIO and LAN PHY.)
10#
11# $FreeBSD$
12#
13
14machine         mips mips
15ident		QCA955X_BASE
16cpu		CPU_MIPS74K
17makeoptions	KERNLOADADDR=0x80050000
18options 	HZ=1000
19
20options		BREAK_TO_DEBUGGER
21options		ALT_BREAK_TO_DEBUGGER
22
23# options		BOOTVERBOSE=10
24
25files		"../atheros/files.ar71xx"
26hints		"QCA955X_BASE.hints"
27
28makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
29# makeoptions	MODULES_OVERRIDE="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"
30makeoptions	MODULES_OVERRIDE="if_vlan ipfw if_gre if_gif if_bridge bridgestp"
31
32options 	DDB
33options 	KDB
34options 	ALQ
35
36options 	SCHED_4BSD		#4BSD scheduler
37options 	INET			#InterNETworking
38#options 	INET6			#InterNETworking
39#options 	NFSCL			#Network Filesystem Client
40options 	PSEUDOFS		#Pseudo-filesystem framework
41options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
42
43# Don't include the SCSI/CAM strings in the default build
44options 	SCSI_NO_SENSE_STRINGS
45options 	SCSI_NO_OP_STRINGS
46
47# .. And no sysctl strings
48options 	NO_SYSCTL_DESCR
49
50# Limit IO size
51options 	NBUF=128
52
53# Limit UMTX hash size
54# options 	UMTX_NUM_CHAINS=64
55
56# PMC - fow now there's no hwpmc module for mips74k
57#options 	HWPMC_HOOKS
58#device		hwpmc
59#device		hwpmc_mips74k
60
61# options 	NFS_LEGACYRPC
62# Debugging for use in -current
63#options 	INVARIANTS
64#options 	INVARIANT_SUPPORT
65#options 	WITNESS
66#options 	WITNESS_SKIPSPIN
67options 	FFS                     #Berkeley Fast Filesystem
68#options 	SOFTUPDATES             #Enable FFS soft updates support
69#options 	UFS_ACL                 #Support for access control lists
70#options 	UFS_DIRHASH             #Improve performance on big directories
71options 	NO_FFS_SNAPSHOT		# We don't require snapshot support
72
73# Wireless NIC cards
74options 	IEEE80211_DEBUG
75options 	IEEE80211_SUPPORT_MESH
76options 	IEEE80211_SUPPORT_TDMA
77options 	IEEE80211_SUPPORT_SUPERG
78options 	IEEE80211_ALQ	# 802.11 ALQ logging support
79device		wlan            # 802.11 support
80device		wlan_wep        # 802.11 WEP support
81device		wlan_ccmp       # 802.11 CCMP support
82device		wlan_tkip       # 802.11 TKIP support
83device		wlan_xauth	# 802.11 hostap support
84
85# ath(4)
86device		ath             # Atheros network device
87device		ath_rate_sample
88device		ath_ahb		# Atheros host bus glue
89options 	ATH_DEBUG
90options 	ATH_DIAGAPI
91option		ATH_ENABLE_11N
92option 		AH_DEBUG_ALQ
93
94#device		ath_hal
95device		ath_ar9300		# AR9330 HAL; no need for the others
96option		AH_DEBUG
97option		AH_SUPPORT_AR5416	# 11n HAL support
98option		AH_SUPPORT_QCA9550	# Chipset support
99option		AH_DEBUG_ALQ
100option		AH_AR5416_INTERRUPT_MITIGATION
101
102device		mii
103device		arge
104options		ARGE_DEBUG
105
106device		usb
107options 	USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
108options 	USB_DEBUG
109options 	USB_HOST_ALIGN=32		# AR71XX (MIPS in general?) requires this
110device		ehci
111
112device		scbus
113device		umass
114device		da
115
116device		spibus
117device		ar71xx_spi
118device		mx25l
119device		ar71xx_wdog
120
121device		uart
122device		uart_ar71xx
123
124device		ar71xx_apb
125# Until some better interrupt handling is shoehorned into qca955x_apb,
126# we'll have to stick to shared interrupts for IP2/IP3 demux.
127# device		qca955x_apb
128
129device		loop
130device		ether
131device		md
132device		bpf
133device		random
134device		if_bridge
135device		gpio
136device		gpioled
137
138#options		KTR
139#options		KTR_MASK=(KTR_INTR)
140#options		KTR_COMPILE=(KTR_INTR)
141#options		KTR_VERBOSE
142