diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-08-27 14:09:29 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-08-27 14:09:29 +0000 |
commit | 0bb9b01b438b7fdcdf5227b65bc58d9123d429a5 (patch) | |
tree | 46b9ee9366ce9aa778beefffa84453699490e2fe /package/mac80211/Makefile | |
parent | 350ebaa373eae8aef0b7bddfc6278536baa309c7 (diff) | |
download | upstream-0bb9b01b438b7fdcdf5227b65bc58d9123d429a5.tar.gz upstream-0bb9b01b438b7fdcdf5227b65bc58d9123d429a5.tar.bz2 upstream-0bb9b01b438b7fdcdf5227b65bc58d9123d429a5.zip |
This patch enables the new ath5k driver. Works for me with X86 Alix
board an AR2413 minipci card. iw and iwconfig works.
Signed-off-by: Dirk Nehring <dnehring@gmx.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12397 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r-- | package/mac80211/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 21db08157e..7cf428c566 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2007-2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -129,6 +129,14 @@ define KernelPackage/net-zd1211rw AUTOLOAD:=$(call AutoLoad,60,zd1211rw) endef +define KernelPackage/ath5k + SUBMENU:=Wireless Drivers + TITLE:=Atheros 5xxx wireless cards support + DEPENDS+= @PCI_SUPPORT +kmod-mac80211 + FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath5k/ath5k.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,27,ath5k) +endef + BUILDFLAGS:= \ $(foreach opt,$(CONFOPTS),-DCONFIG_$(opt)) \ $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS) \ @@ -187,6 +195,7 @@ define KernelPackage/rt73-usb/install $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt73.bin $(1)/lib/firmware/ endef +$(eval $(call KernelPackage,ath5k)) $(eval $(call KernelPackage,net-zd1211rw)) $(eval $(call KernelPackage,mac80211)) $(eval $(call KernelPackage,rt2x00-lib)) |