]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/AR71XX_BASE
Import Amazon Elastic Network Adapter (ENA) HAL to sys/contrib/
[FreeBSD/FreeBSD.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_MIPS24K
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="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 # For small memory footprints
30 options VM_KMEM_SIZE_SCALE=1
31
32 options         DDB
33 options         KDB
34
35 options         SCHED_4BSD              #4BSD scheduler
36 options         INET                    #InterNETworking
37 options         INET6                   # IPv6
38 options         TCP_HHOOK               # hhook(9) framework for TCP
39
40 # options       NFSCL           #Network Filesystem Client
41
42 options         PSEUDOFS                #Pseudo-filesystem framework
43 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
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         DEBUG_REDZONE
52 options         DEBUG_MEMGUARD
53
54 options         FFS                     #Berkeley Fast Filesystem
55 # options         SOFTUPDATES             #Enable FFS soft updates support
56 # options         UFS_ACL                 #Support for access control lists
57 # options         UFS_DIRHASH             #Improve performance on big directories
58 # options       MSDOSFS                 # Read MSDOS filesystems; useful for USB/CF
59
60 device          pci
61 device          ar71xx_pci
62
63 # 802.11 framework
64 options         IEEE80211_DEBUG
65 options         IEEE80211_ALQ
66 options         IEEE80211_SUPPORT_MESH
67 options         IEEE80211_SUPPORT_TDMA
68 options         IEEE80211_AMPDU_AGE
69 device          wlan            # 802.11 support
70 device          wlan_wep        # 802.11 WEP support
71 device          wlan_ccmp       # 802.11 CCMP support
72 device          wlan_tkip       # 802.11 TKIP support
73 device          wlan_xauth      # 802.11 hostap support
74
75 # Atheros wireless NICs
76 device          ath             # Atheros interface support
77 device          ath_pci         # Atheros PCI/Cardbus bus
78 options         ATH_DEBUG
79 options         ATH_DIAGAPI
80 options         ATH_ENABLE_11N
81 options         AH_DEBUG
82 options         AH_DEBUG_ALQ
83 options         ALQ
84 device          ath_hal
85 option          AH_SUPPORT_AR5416
86 device          ath_rate_sample
87 option          AH_RXCFG_SDMAMW_4BYTES
88 option          AH_AR5416_INTERRUPT_MITIGATION
89 # There's no DFS radar detection support yet so this won't actually
90 # detect radars.  It however does enable the rest of the channel change
91 # machinery so DFS can be debugged.
92 option          ATH_ENABLE_DFS
93
94 device          mii
95 device          arge
96
97 device          usb
98 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
99 options         USB_DEBUG
100 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
101 device          ehci
102
103 device          scbus
104 device          umass
105 device          da
106
107 # On-board SPI flash
108 device          spibus
109 device          ar71xx_spi
110 device          mx25l
111 device          ar71xx_wdog
112
113 device          uart
114 device          uart_ar71xx
115
116 device          ar71xx_apb
117
118 device          loop
119 device          ether
120 device          md
121 device          bpf
122 device          random
123 device          if_bridge
124 device          gif             # ip[46] in ip[46] tunneling protocol
125 device          gre             # generic encapsulation - only for IPv4 in IPv4 though atm
126
127 options         ARGE_DEBUG      # Enable if_arge debugging for now
128
129 # Enable GPIO
130 device          gpio
131 device          gpioled