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: releng/11.0/sys/mips/conf/QCA955X_BASE 295138 2016-02-02 07:47:38Z adrian $
12 #
13
14 machine mips mips
15 ident QCA955X_BASE
16 cpu CPU_MIPS74K
17 makeoptions KERNLOADADDR=0x80050000
18 options HZ=1000
19
20 options BREAK_TO_DEBUGGER
21 options ALT_BREAK_TO_DEBUGGER
22
23 # options BOOTVERBOSE=10
24
25 files "../atheros/files.ar71xx"
26 hints "QCA955X_BASE.hints"
27
28 makeoptions 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"
30 makeoptions MODULES_OVERRIDE="if_vlan ipfw if_gre if_gif if_bridge bridgestp"
31
32 options DDB
33 options KDB
34 options ALQ
35
36 options SCHED_4BSD #4BSD scheduler
37 options INET #InterNETworking
38 #options INET6 #InterNETworking
39 #options NFSCL #Network Filesystem Client
40 options PSEUDOFS #Pseudo-filesystem framework
41 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
42
43 # Don't include the SCSI/CAM strings in the default build
44 options SCSI_NO_SENSE_STRINGS
45 options SCSI_NO_OP_STRINGS
46
47 # .. And no sysctl strings
48 options NO_SYSCTL_DESCR
49
50 # Limit IO size
51 options 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
67 options 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
71 options NO_FFS_SNAPSHOT # We don't require snapshot support
72
73 # Wireless NIC cards
74 options IEEE80211_DEBUG
75 options IEEE80211_SUPPORT_MESH
76 options IEEE80211_SUPPORT_TDMA
77 options IEEE80211_SUPPORT_SUPERG
78 options IEEE80211_ALQ # 802.11 ALQ logging support
79 device wlan # 802.11 support
80 device wlan_wep # 802.11 WEP support
81 device wlan_ccmp # 802.11 CCMP support
82 device wlan_tkip # 802.11 TKIP support
83 device wlan_xauth # 802.11 hostap support
84
85 # ath(4)
86 device ath # Atheros network device
87 device ath_rate_sample
88 device ath_ahb # Atheros host bus glue
89 options ATH_DEBUG
90 options ATH_DIAGAPI
91 option ATH_ENABLE_11N
92 option AH_DEBUG_ALQ
93
94 #device ath_hal
95 device ath_ar9300 # AR9330 HAL; no need for the others
96 option AH_DEBUG
97 option AH_SUPPORT_AR5416 # 11n HAL support
98 option AH_SUPPORT_QCA9550 # Chipset support
99 option AH_DEBUG_ALQ
100 option AH_AR5416_INTERRUPT_MITIGATION
101
102 device mii
103 device arge
104 options ARGE_DEBUG
105
106 device usb
107 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
108 options USB_DEBUG
109 options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this
110 device ehci
111
112 device scbus
113 device umass
114 device da
115
116 device spibus
117 device ar71xx_spi
118 device mx25l
119 device ar71xx_wdog
120
121 device uart
122 device uart_ar71xx
123
124 device 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
129 device loop
130 device ether
131 device md
132 device bpf
133 device random
134 device if_bridge
135 device gpio
136 device gpioled
137
138 #options KTR
139 #options KTR_MASK=(KTR_INTR)
140 #options KTR_COMPILE=(KTR_INTR)
141 #options KTR_VERBOSE
Cache object: 8cb6526f314d17b68f9a78972e76bc8f
|