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
13 machine mips mips
14 ident QCA953X_BASE
15 cpu CPU_MIPS24K
16 makeoptions KERNLOADADDR=0x80050000
17 options HZ=1000
18
19 files "../atheros/files.ar71xx"
20 hints "QCA953X_BASE.hints"
21
22 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
23 makeoptions 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
25 options DDB
26 options KDB
27 options ALQ
28 options BREAK_TO_DEBUGGER
29 options ALT_BREAK_TO_DEBUGGER
30
31 options SCHED_4BSD #4BSD scheduler
32 options INET #InterNETworking
33 #options INET6 #InterNETworking
34 #options NFSCL #Network Filesystem Client
35 options PSEUDOFS #Pseudo-filesystem framework
36 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
37
38 # Don't include the SCSI/CAM strings in the default build
39 options SCSI_NO_SENSE_STRINGS
40 options SCSI_NO_OP_STRINGS
41
42 # .. And no sysctl strings
43 options NO_SYSCTL_DESCR
44
45 # For small memory footprints
46 options VM_KMEM_SIZE_SCALE=1
47
48 # Limit IO size
49 options NBUF=128
50
51 # Limit UMTX hash size
52 # options UMTX_NUM_CHAINS=64
53
54 #options UMA_DEBUG_ALLOC
55
56 # PMC
57 options HWPMC_HOOKS
58 #options HWPMC_MIPS_BACKTRACE
59 device hwpmc
60 device hwpmc_mips24k
61
62 options ARGE_DEBUG
63
64 # options NFS_LEGACYRPC
65 # Debugging for use in -current
66 options INVARIANTS
67 options INVARIANT_SUPPORT
68 options WITNESS
69 options WITNESS_SKIPSPIN
70 options FFS #Berkeley Fast Filesystem
71 #options SOFTUPDATES #Enable FFS soft updates support
72 #options UFS_ACL #Support for access control lists
73 #options UFS_DIRHASH #Improve performance on big directories
74 options NO_FFS_SNAPSHOT # We don't require snapshot support
75
76 options IPFIREWALL_DEFAULT_TO_ACCEPT
77
78 # Wireless NIC cards
79 options IEEE80211_DEBUG
80 options IEEE80211_SUPPORT_MESH
81 options IEEE80211_SUPPORT_TDMA
82 options IEEE80211_SUPPORT_SUPERG
83 options IEEE80211_ALQ # 802.11 ALQ logging support
84 device wlan # 802.11 support
85 device wlan_wep # 802.11 WEP support
86 device wlan_ccmp # 802.11 CCMP support
87 device wlan_tkip # 802.11 TKIP support
88 device wlan_xauth # 802.11 hostap support
89
90 # ath(4)
91 device ath # Atheros network device
92 device ath_rate_sample
93 device ath_ahb # Atheros host bus glue
94 options ATH_DEBUG
95 options ATH_DIAGAPI
96 option ATH_ENABLE_11N
97 option AH_DEBUG_ALQ
98
99 #device ath_hal
100 device ath_ar9300 # AR9330 HAL; no need for the others
101 option AH_DEBUG
102 option AH_SUPPORT_AR5416 # 11n HAL support
103 option AH_SUPPORT_QCA9530 # Chipset support
104 option AH_AR5416_INTERRUPT_MITIGATION
105
106 device mii
107 device arge
108
109 device usb
110 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
111 options USB_DEBUG
112 options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this
113 device ehci
114
115 device scbus
116 device umass
117 device da
118
119 device spibus
120 device ar71xx_spi
121 device mx25l
122 device ar71xx_wdog
123
124 # Handle 25MHz refclock by allowing a higher baudrate error tolerance.
125 device uart
126 device uart_ar71xx
127 options UART_DEV_TOLERANCE_PCT=50
128
129 device ar71xx_apb
130
131 device loop
132 device ether
133 device md
134 device bpf
135 device random
136 device if_bridge
137 device gpio
138 device gpioled
Cache object: f0659f59279633401a4b2a78caf77090
|