X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4c98f8465d7b207b150b3c67705e35297d7804be..eba0280e05b43a0a12b2fff0b6deb38cf338a509:/package/kernel/modules/wireless.mk?ds=inline diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk index 413e353f5..ff5b79684 100644 --- a/package/kernel/modules/wireless.mk +++ b/package/kernel/modules/wireless.mk @@ -18,35 +18,44 @@ 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) + AUTOLOAD:=$(call AutoLoad,50,bcm43xx) SUBMENU:=$(WIMENU) endef $(eval $(call KernelPackage,net-bcm43xx)) @@ -60,7 +69,7 @@ define KernelPackage/net-ipw2100 DEPENDS:=kmod-ieee80211 KCONFIG:=$(CONFIG_IPW2100) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call Autoload,50,ipw2100) + AUTOLOAD:=$(call AutoLoad,50,ipw2100) SUBMENU:=$(WIMENU) endef $(eval $(call KernelPackage,net-ipw2100)) @@ -74,7 +83,7 @@ define KernelPackage/net-ipw2200 DEPENDS:=kmod-ieee80211 KCONFIG:=$(CONFIG_IPW2200) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call Autoload,50,ipw2200) + AUTOLOAD:=$(call AutoLoad,50,ipw2200) SUBMENU:=$(WIMENU) endef $(eval $(call KernelPackage,net-ipw2200)) @@ -134,8 +143,18 @@ 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 @LINUX_2_6 + SUBMENU:=$(WIMENU) + FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/zd1211rw/zd1211rw.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,60,zd1211rw) +endef +$(eval $(call KernelPackage,net-zd1211rw))