aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/conf/AR71XX_BASE
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/conf/AR71XX_BASE')
-rw-r--r--sys/mips/conf/AR71XX_BASE69
1 files changed, 3 insertions, 66 deletions
diff --git a/sys/mips/conf/AR71XX_BASE b/sys/mips/conf/AR71XX_BASE
index 99e59a2c2b6f..fefef6982e59 100644
--- a/sys/mips/conf/AR71XX_BASE
+++ b/sys/mips/conf/AR71XX_BASE
@@ -22,13 +22,6 @@ hints "AR71XX_BASE.hints"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
-# Build these as modules so small platform builds will have the
-# modules already built.
-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"
-
-# For small memory footprints
-options VM_KMEM_SIZE_SCALE=1
-
options DDB
options KDB
@@ -57,75 +50,19 @@ options FFS #Berkeley Fast Filesystem
# options UFS_DIRHASH #Improve performance on big directories
# options MSDOSFS # Read MSDOS filesystems; useful for USB/CF
+include "std.AR_MIPS_BASE"
+makeoptions MODULES_OVERRIDE+="hwpmc_mips24k"
+
device pci
device ar71xx_pci
-# 802.11 framework
-options IEEE80211_DEBUG
-options IEEE80211_ALQ
-options IEEE80211_SUPPORT_MESH
-options IEEE80211_SUPPORT_TDMA
-options IEEE80211_AMPDU_AGE
-device wlan # 802.11 support
-device wlan_wep # 802.11 WEP support
-device wlan_ccmp # 802.11 CCMP support
-device wlan_tkip # 802.11 TKIP support
-device wlan_xauth # 802.11 hostap support
-
-# Atheros wireless NICs
-device ath # Atheros interface support
-device ath_pci # Atheros PCI/Cardbus bus
-options ATH_DEBUG
-options ATH_DIAGAPI
-options ATH_ENABLE_11N
-options AH_DEBUG
-options AH_DEBUG_ALQ
-options ALQ
-device ath_hal
-option AH_SUPPORT_AR5416
-device ath_rate_sample
-option AH_RXCFG_SDMAMW_4BYTES
-option AH_AR5416_INTERRUPT_MITIGATION
-# There's no DFS radar detection support yet so this won't actually
-# detect radars. It however does enable the rest of the channel change
-# machinery so DFS can be debugged.
-option ATH_ENABLE_DFS
-
-device mii
-device arge
-
device usb
-options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
-options USB_DEBUG
-options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this
device ehci
device scbus
device umass
device da
-# On-board SPI flash
-device spibus
-device ar71xx_spi
-device mx25l
device ar71xx_wdog
-
-device uart
device uart_ar71xx
-
device ar71xx_apb
-
-device loop
-device ether
-device md
-device bpf
-device random
-device if_bridge
-device gif # ip[46] in ip[46] tunneling protocol
-device gre # generic encapsulation - only for IPv4 in IPv4 though atm
-
-options ARGE_DEBUG # Enable if_arge debugging for now
-
-# Enable GPIO
-device gpio
-device gpioled