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