summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/wireless.mk18
1 files changed, 14 insertions, 4 deletions
diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk
index e3bffa14c8..8225aac3fb 100644
--- a/package/kernel/modules/wireless.mk
+++ b/package/kernel/modules/wireless.mk
@@ -20,30 +20,40 @@ define KernelPackage/ieee80211
- ieee80211_crytp_ccmp \\\
- ieee80211softmac
DEPENDS:=@LINUX_2_6
- KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
+ KCONFIG:=$(CONFIG_IEEE80211)
FILES:= \
$(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) \
- $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(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)