Remove the second MODULES_OVERRIDE; add if_vlan to the list.
[freebsd.git] / sys / mips / conf / AR933X_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           AR933X_BASE
15 cpu             CPU_MIPS4KC
16 makeoptions     KERNLOADADDR=0x80050000
17 options         HZ=1000
18
19 files           "../atheros/files.ar71xx"
20 hints           "AR933X_BASE.hints"
21
22 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
23 makeoptions     MODULES_OVERRIDE="random gpio ar71xx if_gif if_vlan if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw"
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 # Don't include the SCSI/CAM strings in the default build
37 options         SCSI_NO_SENSE_STRINGS
38 options         SCSI_NO_OP_STRINGS
39
40 # .. And no sysctl strings
41 options         NO_SYSCTL_DESCR
42
43 # Limit IO size
44 options         NBUF=128
45
46 # Limit UMTX hash size
47 # options       UMTX_NUM_CHAINS=64
48
49 # PMC
50 #options        HWPMC_HOOKS
51 #device         hwpmc
52 #device         hwpmc_mips24k
53
54 # options       NFS_LEGACYRPC
55 # Debugging for use in -current
56 #options        INVARIANTS
57 #options        INVARIANT_SUPPORT
58 #options        WITNESS
59 #options        WITNESS_SKIPSPIN
60 options         FFS                     #Berkeley Fast Filesystem
61 #options        SOFTUPDATES             #Enable FFS soft updates support
62 #options        UFS_ACL                 #Support for access control lists
63 #options        UFS_DIRHASH             #Improve performance on big directories
64 options         NO_FFS_SNAPSHOT         # We don't require snapshot support
65
66 options         IPFIREWALL_DEFAULT_TO_ACCEPT
67
68 # Wireless NIC cards
69 options         IEEE80211_DEBUG
70 options         IEEE80211_SUPPORT_MESH
71 options         IEEE80211_SUPPORT_TDMA
72 options         IEEE80211_SUPPORT_SUPERG
73 options         IEEE80211_ALQ   # 802.11 ALQ logging support
74 device          wlan            # 802.11 support
75 device          wlan_wep        # 802.11 WEP support
76 device          wlan_ccmp       # 802.11 CCMP support
77 device          wlan_tkip       # 802.11 TKIP support
78 device          wlan_xauth      # 802.11 hostap support
79
80 # ath(4)
81 device          ath             # Atheros network device
82 device          ath_rate_sample
83 device          ath_ahb         # Atheros host bus glue
84 options         ATH_DEBUG
85 options         ATH_DIAGAPI
86 option          ATH_ENABLE_11N
87 option          AH_DEBUG_ALQ
88
89 #device         ath_hal
90 device          ath_ar9300              # AR9330 HAL; no need for the others
91 option          AH_DEBUG
92 option          AH_SUPPORT_AR5416       # 11n HAL support
93 option          AH_SUPPORT_AR9330       # Chipset support
94 option          AH_AR5416_INTERRUPT_MITIGATION
95
96 device          mii
97 device          arge
98
99 device          usb
100 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
101 options         USB_DEBUG
102 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
103 device          ehci
104
105 device          scbus
106 device          umass
107 device          da
108
109 device          spibus
110 device          ar71xx_spi
111 device          mx25l
112 device          ar71xx_wdog
113
114 device          uart
115 device          uart_ar933x
116
117 device          ar71xx_apb
118
119 device          loop
120 device          ether
121 device          md
122 device          bpf
123 device          random
124 device          if_bridge
125 device          gpio
126 device          gpioled