]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/std.AR_MIPS_BASE
MFHead @r350386
[FreeBSD/FreeBSD.git] / sys / mips / conf / std.AR_MIPS_BASE
1 # These are the base base bits shared between all of the various Atheros
2 # MIPS bases.
3 #
4 # This allows a shared set of configuration and drivers to be built for
5 # all of the Atheros MIPS platforms without a lot of configuration file
6 # duplication.
7 #
8 # $FreeBSD$
9
10 # debugging
11 options         EARLY_PRINTF
12 options         ALT_BREAK_TO_DEBUGGER
13
14 # For small memory footprints
15 options         VM_KMEM_SIZE_SCALE=1
16 options         UMTX_CHAINS=16
17 options         NBUF=128
18 # Don't include the SCSI/CAM strings in the default build
19 options         SCSI_NO_SENSE_STRINGS
20 options         SCSI_NO_OP_STRINGS
21 # .. And no sysctl strings
22 options         NO_SYSCTL_DESCR
23
24 makeoptions     MODULES_OVERRIDE+="gpio ar71xx if_gif if_vlan if_gre if_tuntap"
25 makeoptions     MODULES_OVERRIDE+="if_bridge bridgestp usb"
26 makeoptions     MODULES_OVERRIDE+="alq"
27
28 # net80211
29 options         IEEE80211_DEBUG
30 options         IEEE80211_SUPPORT_MESH
31 options         IEEE80211_SUPPORT_TDMA
32 options         IEEE80211_SUPPORT_SUPERG
33 options         IEEE80211_ALQ   # 802.11 ALQ logging support
34
35 makeoptions     MODULES_OVERRIDE+="wlan wlan_xauth wlan_acl wlan_wep"
36 makeoptions     MODULES_OVERRIDE+="wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr"
37
38 # firewalling
39 options         IPFIREWALL_DEFAULT_TO_ACCEPT
40
41 makeoptions     MODULES_OVERRIDE+="ipfw ipfw_nat libalias ipfw_nptv6"
42
43 # USB wifi device drivers
44 makeoptions     MODULES_OVERRIDE+="rtwn rtwn_usb rtwnfw"
45 makeoptions     MODULES_OVERRIDE+="otus otusfw"
46
47 # Atheros wifi device drivers
48 options         ATH_DEBUG
49 options         ATH_DIAGAPI
50 options         ATH_ENABLE_11N
51 options         ATH_ENABLE_DFS
52
53 options         AH_DEBUG_ALQ
54 options         AH_DEBUG
55 options         AH_AR5416_INTERRUPT_MITIGATION
56 options         AH_RXCFG_SDMAMW_4BYTES
57
58 makeoptions     MODULES_OVERRIDE+="ath_main ath_pci ath_ahb ath_rate ath_dfs"
59 makeoptions     MODULES_OVERRIDE+="ath_hal_ar5210 ath_hal_ar5211"
60 makeoptions     MODULES_OVERRIDE+="ath_hal_ar5212 ath_hal_ar5416"
61 makeoptions     MODULES_OVERRIDE+="ath_hal_ar9300 ath_hal"
62
63 # USB configuration
64 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
65 options         USB_DEBUG
66 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
67
68 # Ethernet configuration
69 device          mii
70 device          arge
71 options         ARGE_DEBUG
72
73 # SPI, flash
74 device          spibus
75 device          ar71xx_spi
76 device          mx25l
77 device          ar71xx_wdog
78
79 # Serial driver
80 device          uart
81
82 # Networking
83 device          loop
84 device          ether
85 device          md
86 device          bpf
87 #device                 if_bridge
88
89 # GPIO - normally it's okay as a module
90 #device                 gpio
91 #device                 gpioled
92