]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/std.AR_MIPS_BASE
Import DTS files from Linux 5.0
[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_tap"
25 makeoptions     MODULES_OVERRIDE+="if_tun if_bridge bridgestp usb"
26 makeoptions     MODULES_OVERRIDE+="alq"
27
28 # Random - required during early boot!
29 device          random
30
31 # net80211
32 options         IEEE80211_DEBUG
33 options         IEEE80211_SUPPORT_MESH
34 options         IEEE80211_SUPPORT_TDMA
35 options         IEEE80211_SUPPORT_SUPERG
36 options         IEEE80211_ALQ   # 802.11 ALQ logging support
37
38 makeoptions     MODULES_OVERRIDE+="wlan wlan_xauth wlan_acl wlan_wep"
39 makeoptions     MODULES_OVERRIDE+="wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr"
40
41 # firewalling
42 options         IPFIREWALL_DEFAULT_TO_ACCEPT
43
44 makeoptions     MODULES_OVERRIDE+="ipfw ipfw_nat libalias ipfw_nptv6"
45
46 # USB wifi device drivers
47 makeoptions     MODULES_OVERRIDE+="rtwn rtwn_usb rtwnfw"
48 makeoptions     MODULES_OVERRIDE+="otus otusfw"
49
50 # Atheros wifi device drivers
51 options         ATH_DEBUG
52 options         ATH_DIAGAPI
53 options         ATH_ENABLE_11N
54 options         ATH_ENABLE_DFS
55
56 options         AH_DEBUG_ALQ
57 options         AH_DEBUG
58 options         AH_AR5416_INTERRUPT_MITIGATION
59 options         AH_RXCFG_SDMAMW_4BYTES
60
61 makeoptions     MODULES_OVERRIDE+="ath_main ath_pci ath_ahb ath_rate ath_dfs"
62 makeoptions     MODULES_OVERRIDE+="ath_hal_ar5210 ath_hal_ar5211"
63 makeoptions     MODULES_OVERRIDE+="ath_hal_ar5212 ath_hal_ar5416"
64 makeoptions     MODULES_OVERRIDE+="ath_hal_ar9300 ath_hal"
65
66 # USB configuration
67 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
68 options         USB_DEBUG
69 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
70
71 # Ethernet configuration
72 device          mii
73 device          arge
74 options         ARGE_DEBUG
75
76 # SPI, flash
77 device          spibus
78 device          ar71xx_spi
79 device          mx25l
80 device          ar71xx_wdog
81
82 # Serial driver
83 device          uart
84
85 # Networking
86 device          loop
87 device          ether
88 device          md
89 device          bpf
90 #device                 if_bridge
91
92 # GPIO - normally it's okay as a module
93 #device                 gpio
94 #device                 gpioled
95