X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/06f88f2a1584969fcf20ace162a00d239a5d4cc2..82287902c7a6a5a2cc7510cc5e1f520febfa62b9:/package/kernel/modules/wireless.mk?ds=inline diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk index e3bffa14c..61171d50a 100644 --- a/package/kernel/modules/wireless.mk +++ b/package/kernel/modules/wireless.mk @@ -18,32 +18,41 @@ define KernelPackage/ieee80211 - ieee80211_crypt_wep \\\ - ieee80211_crypt_tkip \\\ - ieee80211_crytp_ccmp \\\ - - ieee80211softmac - DEPENDS:=@LINUX_2_6 - KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC) + DEPENDS:=@LINUX_2_6 kmod-crypto + KCONFIG:=$(CONFIG_IEEE80211) FILES:= \ - $(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) \ - $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX) + $(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,10, \ ieee80211_crypt \ ieee80211 \ ieee80211_crypt_wep \ ieee80211_crypt_tkip \ ieee80211_crypt_ccmp \ - ieee80211softmac \ ) SUBMENU:=$(WIMENU) endef $(eval $(call KernelPackage,ieee80211)) +define KernelPackage/ieee80211-softmac + TITLE:=ieee80211 SoftMAC support + DEPENDS:=kmod-ieee80211 + KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC) + FILES:= \ + $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac) + SUBMENU:=$(WIMENU) +endef +$(eval $(call KernelPackage,ieee80211-softmac)) + + define KernelPackage/net-bcm43xx TITLE:=Broadcom BCM43xx driver DESCRIPTION:=\\\ \\\ Includes: \\\ - bcm43xx - DEPENDS:=kmod-ieee80211 + DEPENDS:=kmod-ieee80211-softmac KCONFIG:=$(CONFIG_BCM43XX) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,bcm43xx) @@ -134,8 +143,17 @@ define KernelPackage/net-prism54 KCONFIG:=$(CONFIG_PRISM54) SUBMENU:=$(WIMENU) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,prism54) + AUTOLOAD:=$(call AutoLoad,60,prism54) endef $(eval $(call KernelPackage,net-prism54)) +define KernelPackage/net-zd1211rw + TITLE:=Zydas ZD1211 support + DESCRIPTION:=Kernel modules Zydas ZD1211 support, kernel version + KCONFIG:=$(CONFIG_ZD1211RW) + DEPENDS:=kmod-ieee80211 + SUBMENU:=$(WIMENU) + FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/zd1211rw/zdd1211rw.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,60,zd1211rw) +endef