aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-10 13:39:38 +0000
committerJohn Crispin <blogic@openwrt.org>2015-04-10 13:39:38 +0000
commit52c0f36c88ac9e7b0574716f628e966b01ff36a1 (patch)
tree243e922bfe2ddc08512fd03650eec8dbcb2a5c09 /package/kernel
parent61c017cb0a2b0c519cb10c7320aee62cabbfb361 (diff)
downloadupstream-52c0f36c88ac9e7b0574716f628e966b01ff36a1.tar.gz
upstream-52c0f36c88ac9e7b0574716f628e966b01ff36a1.tar.bz2
upstream-52c0f36c88ac9e7b0574716f628e966b01ff36a1.zip
modules: add missing wpan fakehard driver
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/wpan.mk18
1 files changed, 17 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk
index 40abfcac6e..a89f3b71fc 100644
--- a/package/kernel/linux/modules/wpan.mk
+++ b/package/kernel/linux/modules/wpan.mk
@@ -53,10 +53,26 @@ endef
$(eval $(call KernelPackage,mac802154))
-define KernelPackage/fakelb
+define KernelPackage/fakehard
SUBMENU:=$(WPAN_MENU)
TITLE:=Fake LR-WPAN driver
DEPENDS:=+kmod-mac802154 @!LINUX_4.0
+ KCONFIG:=CONFIG_IEEE802154_FAKEHARD
+ FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakehard.ko
+ AUTOLOAD:=$(call AutoLoad,92,fakehard)
+endef
+
+define KernelPackage/fakehard/description
+ Say Y here to enable the fake driver that can emulate a net
+ of several interconnected radio devices.
+endef
+
+$(eval $(call KernelPackage,fakehard))
+
+define KernelPackage/fakelb
+ SUBMENU:=$(WPAN_MENU)
+ TITLE:=Fake LR-WPAN loopback driver
+ DEPENDS:=+kmod-mac802154 @!LINUX_4.0
KCONFIG:=CONFIG_IEEE802154_FAKELB
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakelb.ko
AUTOLOAD:=$(call AutoLoad,92,fakelb)