]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/std.AR91XX
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and update
[FreeBSD/FreeBSD.git] / sys / mips / conf / std.AR91XX
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.AR91XX
15 cpu             CPU_MIPS24K
16 makeoptions     KERNLOADADDR=0x80050000
17 options         HZ=1000
18
19 files           "../atheros/files.ar71xx"
20 hints           "AR91XX_BASE.hints"
21
22 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
23 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"
24
25 options         DDB
26 options         KDB
27 options         ALQ
28
29 # For small memory footprints
30 options         VM_KMEM_SIZE_SCALE=1
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 # PMC
41 options         HWPMC_HOOKS
42 device          hwpmc
43 device          hwpmc_mips24k
44
45 # options       NFS_LEGACYRPC
46 # Debugging for use in -current
47 options         INVARIANTS
48 options         INVARIANT_SUPPORT
49 options         WITNESS
50 options         WITNESS_SKIPSPIN
51 options         FFS                     #Berkeley Fast Filesystem
52 #options        SOFTUPDATES             #Enable FFS soft updates support
53 #options        UFS_ACL                 #Support for access control lists
54 #options        UFS_DIRHASH             #Improve performance on big directories
55 options         NO_FFS_SNAPSHOT         # We don't require snapshot support
56
57 # Wireless NIC cards
58 options         IEEE80211_DEBUG
59 options         IEEE80211_SUPPORT_MESH
60 options         IEEE80211_SUPPORT_TDMA
61 options         IEEE80211_ALQ   # 802.11 ALQ logging support
62 device          wlan            # 802.11 support
63 device          wlan_wep        # 802.11 WEP support
64 device          wlan_ccmp       # 802.11 CCMP support
65 device          wlan_tkip       # 802.11 TKIP support
66 device          wlan_xauth      # 802.11 hostap support
67
68 # ath(4)
69 device          ath             # Atheros network device
70 device          ath_rate_sample
71 device          ath_ahb         # Atheros host bus glue
72 options         ATH_DEBUG
73 options         ATH_DIAGAPI
74 option          ATH_ENABLE_11N
75
76 # Don't bother compiling the whole HAL - AH_SUPPORT_AR9130 breaks the
77 # rest of the 11n chipset support at the moment and the pre-AR5212
78 # HALs aren't required.
79 # device                ath_hal
80
81 # The AR9130 code requires AR5416; and AR5416 requires the AR5212 code.
82 device          ath_ar5212
83 device          ath_ar5416
84 device          ath_ar9130
85
86 options         AH_DEBUG
87 option          AH_SUPPORT_AR5416
88 option          AH_SUPPORT_AR9130       # Makes other chipsets not function!
89 option          AH_DEBUG_ALQ
90 # interrupt mitigation not possible on AR9130
91 # option                AH_AR5416_INTERRUPT_MITIGATION
92
93 device          mii
94 device          arge
95
96 device          usb
97 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
98 options         USB_DEBUG
99 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
100 device          ehci
101
102 device          scbus
103 device          umass
104 device          da
105
106 device          spibus
107 device          ar71xx_spi
108 device          mx25l
109 device          ar71xx_wdog
110
111 device          uart
112 device          uart_ar71xx
113
114 device          ar71xx_apb
115
116 device          loop
117 device          ether
118 device          md
119 device          bpf
120 device          random
121 device          if_bridge
122 device          gpio
123 device          gpioled