aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-06 22:40:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-06 22:40:45 +0000
commit0e99db6d768fae3867237ad030ed8cfbdd5af210 (patch)
treec4019600bf773502a5bb1c127a51bac9f7666f33 /package/mac80211/Makefile
parenta5e8a1fc3ab14b3e59c6405d76e5d0038115905d (diff)
downloadupstream-0e99db6d768fae3867237ad030ed8cfbdd5af210.tar.gz
upstream-0e99db6d768fae3867237ad030ed8cfbdd5af210.tar.bz2
upstream-0e99db6d768fae3867237ad030ed8cfbdd5af210.zip
mac80211: add support for adm8211 wireless driver
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34560 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index ae41c58a2b..7fa583bc1b 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -22,7 +22,7 @@ PKG_BUILD_PARALLEL:=1
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
PKG_DRIVERS = \
- ath5k libertas-usb libertas-sd p54-common p54-pci p54-usb p54-spi \
+ adm8211 ath5k libertas-usb libertas-sd p54-common p54-pci p54-usb p54-spi \
rt2x00-lib rt2x00-pci rt2x00-usb rt2x00-soc rt2800-lib rt2400-pci \
rt2500-pci rt2500-usb rt61-pci rt73-usb rt2800-pci rt2800-usb \
rtl8180 rtl8187 zd1211rw mac80211-hwsim carl9170 b43 b43legacy \
@@ -363,6 +363,14 @@ define KernelPackage/zd1211rw
AUTOLOAD:=$(call AutoLoad,60,zd1211rw)
endef
+define KernelPackage/adm8211
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=ADMTek 8211 support
+ DEPENDS+=@PCI_SUPPORT +kmod-mac80211 +kmod-eeprom-93cx6
+ FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/adm8211.ko
+ AUTOLOAD:=$(call AutoLoad,60,adm8211)
+endef
+
define KernelPackage/ath/config
if PACKAGE_kmod-ath
config ATH_USER_REGD
@@ -1290,7 +1298,7 @@ MAKE_OPTS:= \
CONFIG_MWL8K=$(if $(CONFIG_PACKAGE_kmod-mwl8k),m) \
CONFIG_ATMEL= \
CONFIG_PCMCIA_ATMEL= \
- CONFIG_ADM8211= \
+ CONFIG_ADM8211=$(if $(CONFIG_PACKAGE_kmod-adm8211),m) \
CONFIG_USB_NET_RNDIS_HOST= \
CONFIG_USB_NET_RNDIS_WLAN= \
CONFIG_USB_NET_CDCETHER= \
@@ -1632,6 +1640,7 @@ define KernelPackage/brcmfmac/install
$(1)/lib/firmware/brcm/
endef
+$(eval $(call KernelPackage,adm8211))
$(eval $(call KernelPackage,ath5k))
$(eval $(call KernelPackage,lib80211))
$(eval $(call KernelPackage,libertas-usb))