]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/mips/conf/AR71XX_BASE
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / mips / conf / AR71XX_BASE
1 #
2 # AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems
3 #
4 # This includes all the common drivers for the AR71XX boards along with
5 # the usb, net80211 and atheros driver code.
6 #
7 # $FreeBSD$
8 #
9
10 machine         mips mips
11 ident           AR71XX_BASE
12 cpu             CPU_MIPS4KC
13 makeoptions     KERNLOADADDR=0x80050000
14 options         HZ=1000
15 options         HWPMC_HOOKS
16
17 files           "../atheros/files.ar71xx"
18
19 # For now, hints are per-board.
20
21 hints           "AR71XX_BASE.hints"
22
23 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
24
25 # Build these as modules so small platform builds will have the
26 # modules already built.
27 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_pci"
28
29 options         DDB
30 options         KDB
31
32 options         SCHED_4BSD              #4BSD scheduler
33 options         INET                    #InterNETworking
34 options         INET6                   # IPv6
35
36 # options       NFSCL           #Network Filesystem Client
37
38 options         PSEUDOFS                #Pseudo-filesystem framework
39 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
40
41 # options       NFS_LEGACYRPC
42 # Debugging for use in -current
43 options         INVARIANTS
44 options         INVARIANT_SUPPORT
45 options         WITNESS
46 options         WITNESS_SKIPSPIN
47 options         DEBUG_REDZONE
48 options         DEBUG_MEMGUARD
49
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       MSDOSFS                 # Read MSDOS filesystems; useful for USB/CF
55
56 device          pci
57 device          ar71xx_pci
58
59 # 802.11 framework
60 options         IEEE80211_DEBUG
61 options         IEEE80211_ALQ
62 options         IEEE80211_SUPPORT_MESH
63 # This option is currently broken for if_ath_tx.
64 options         IEEE80211_SUPPORT_TDMA
65 options         IEEE80211_AMPDU_AGE
66 device          wlan            # 802.11 support
67 device          wlan_wep        # 802.11 WEP support
68 device          wlan_ccmp       # 802.11 CCMP support
69 device          wlan_tkip       # 802.11 TKIP support
70 device          wlan_xauth      # 802.11 hostap support
71
72 # Atheros wireless NICs
73 device          ath             # Atheros interface support
74 device          ath_pci         # Atheros PCI/Cardbus bus
75 options         ATH_DEBUG
76 options         ATH_DIAGAPI
77 options         ATH_ENABLE_11N
78 options         AH_DEBUG
79 options         AH_DEBUG_ALQ
80 options         ALQ
81 device          ath_hal
82 option          AH_SUPPORT_AR5416
83 device          ath_rate_sample
84 option          AH_RXCFG_SDMAMW_4BYTES
85 option          AH_AR5416_INTERRUPT_MITIGATION
86 # There's no DFS radar detection support yet so this won't actually
87 # detect radars.  It however does enable the rest of the channel change
88 # machinery so DFS can be debugged.
89 option          ATH_ENABLE_DFS
90
91 device          mii
92 device          arge
93
94 device          usb
95 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
96 options         USB_DEBUG
97 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
98 device          ehci
99
100 device          scbus
101 device          umass
102 device          da
103
104 # On-board SPI flash
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          loop
114 device          ether
115 device          md
116 device          bpf
117 device          random
118 device          if_bridge
119 device          gif             # ip[46] in ip[46] tunneling protocol
120 device          gre             # generic encapsulation - only for IPv4 in IPv4 though atm
121
122 options         ARGE_DEBUG      # Enable if_arge debugging for now
123
124 # Enable GPIO
125 device          gpio
126 device          gpioled