]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/std.AR933X
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and update
[FreeBSD/FreeBSD.git] / sys / mips / conf / std.AR933X
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$
11 #
12
13 machine         mips mips
14 #ident          std.AR933X
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_tap if_tun if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw ipfw_nat libalias ipfw_nptv6 rtwn rtwn_usb rtwnfw otus otusfw hwpmc_mips24k"
24
25 options         DDB
26 options         KDB
27 options         ALQ
28 options         ALT_BREAK_TO_DEBUGGER
29
30 options         UMTX_CHAINS=16
31
32 options         SCHED_4BSD              #4BSD scheduler
33 options         INET                    #InterNETworking
34 #options        INET6                   #InterNETworking
35 options         TCP_HHOOK               # hhook(9) framework for TCP
36 #options        NFSCL                   #Network Filesystem Client
37 options         PSEUDOFS                #Pseudo-filesystem framework
38 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
39
40 # Don't include the SCSI/CAM strings in the default build
41 options         SCSI_NO_SENSE_STRINGS
42 options         SCSI_NO_OP_STRINGS
43
44 # .. And no sysctl strings
45 options         NO_SYSCTL_DESCR
46
47 # For small memory footprints
48 options         VM_KMEM_SIZE_SCALE=1
49
50 # Limit IO size
51 options         NBUF=128
52
53 # Limit UMTX hash size
54 options         UMTX_CHAINS=64
55
56 # PMC
57 options         HWPMC_HOOKS
58 #device         hwpmc
59 #device         hwpmc_mips24k
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 options         IPFIREWALL_DEFAULT_TO_ACCEPT
74
75 # Wireless NIC cards
76 options         IEEE80211_DEBUG
77 options         IEEE80211_SUPPORT_MESH
78 options         IEEE80211_SUPPORT_TDMA
79 options         IEEE80211_SUPPORT_SUPERG
80 options         IEEE80211_ALQ   # 802.11 ALQ logging support
81 device          wlan            # 802.11 support
82 device          wlan_wep        # 802.11 WEP support
83 device          wlan_ccmp       # 802.11 CCMP support
84 device          wlan_tkip       # 802.11 TKIP support
85 device          wlan_xauth      # 802.11 hostap support
86
87 # ath(4)
88 device          ath             # Atheros network device
89 device          ath_rate_sample
90 device          ath_ahb         # Atheros host bus glue
91 options         ATH_DEBUG
92 options         ATH_DIAGAPI
93 option          ATH_ENABLE_11N
94 option          AH_DEBUG_ALQ
95
96 #device         ath_hal
97 device          ath_ar9300              # AR9330 HAL; no need for the others
98 option          AH_DEBUG
99 option          AH_SUPPORT_AR5416       # 11n HAL support
100 option          AH_SUPPORT_AR9330       # Chipset support
101 option          AH_AR5416_INTERRUPT_MITIGATION
102
103 device          mii
104 device          arge
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_ar933x
123
124 device          ar71xx_apb
125
126 device          loop
127 device          ether
128 device          md
129 device          bpf
130 device          random
131 device          if_bridge
132 device          gpio
133 device          gpioled