]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/AR91XX_BASE
Remove uart_dev_mtk_ns8250
[FreeBSD/FreeBSD.git] / sys / mips / conf / AR91XX_BASE
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           AR91XX_BASE
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        NFSCL                   #Network Filesystem Client
36 options         PSEUDOFS                #Pseudo-filesystem framework
37 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
38
39 # PMC
40 options         HWPMC_HOOKS
41 device          hwpmc
42 device          hwpmc_mips24k
43
44 # options       NFS_LEGACYRPC
45 # Debugging for use in -current
46 options         INVARIANTS
47 options         INVARIANT_SUPPORT
48 options         WITNESS
49 options         WITNESS_SKIPSPIN
50 options         FFS                     #Berkeley Fast Filesystem
51 #options        SOFTUPDATES             #Enable FFS soft updates support
52 #options        UFS_ACL                 #Support for access control lists
53 #options        UFS_DIRHASH             #Improve performance on big directories
54 options         NO_FFS_SNAPSHOT         # We don't require snapshot support
55
56 # Wireless NIC cards
57 options         IEEE80211_DEBUG
58 options         IEEE80211_SUPPORT_MESH
59 options         IEEE80211_SUPPORT_TDMA
60 options         IEEE80211_ALQ   # 802.11 ALQ logging support
61 device          wlan            # 802.11 support
62 device          wlan_wep        # 802.11 WEP support
63 device          wlan_ccmp       # 802.11 CCMP support
64 device          wlan_tkip       # 802.11 TKIP support
65 device          wlan_xauth      # 802.11 hostap support
66
67 # ath(4)
68 device          ath             # Atheros network device
69 device          ath_rate_sample
70 device          ath_ahb         # Atheros host bus glue
71 options         ATH_DEBUG
72 options         ATH_DIAGAPI
73 option          ATH_ENABLE_11N
74
75 # Don't bother compiling the whole HAL - AH_SUPPORT_AR9130 breaks the
76 # rest of the 11n chipset support at the moment and the pre-AR5212
77 # HALs aren't required.
78 # device                ath_hal
79
80 # The AR9130 code requires AR5416; and AR5416 requires the AR5212 code.
81 device          ath_ar5212
82 device          ath_ar5416
83 device          ath_ar9130
84
85 options         AH_DEBUG
86 option          AH_SUPPORT_AR5416
87 option          AH_SUPPORT_AR9130       # Makes other chipsets not function!
88 option          AH_DEBUG_ALQ
89 # interrupt mitigation not possible on AR9130
90 # option                AH_AR5416_INTERRUPT_MITIGATION
91
92 device          mii
93 device          arge
94
95 device          usb
96 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
97 options         USB_DEBUG
98 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
99 device          ehci
100
101 device          scbus
102 device          umass
103 device          da
104
105 device          spibus
106 device          ar71xx_spi
107 device          mx25l
108 device          ar71xx_wdog
109
110 device          uart
111 device          uart_ar71xx
112
113 device          ar71xx_apb
114
115 device          loop
116 device          ether
117 device          md
118 device          bpf
119 device          random
120 device          if_bridge
121 device          gpio
122 device          gpioled