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