aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-12-05 21:23:21 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-12-05 21:23:21 +0000
commitfe5b868a4f0625f81dbfab80827b581b9a11d357 (patch)
tree1b4fed77e1d621c8591737d1fcbfb600ef215345
parentab461fd74fdb312ddb03f8f6a4a990eae0d8b7f6 (diff)
downloadupstream-fe5b868a4f0625f81dbfab80827b581b9a11d357.tar.gz
upstream-fe5b868a4f0625f81dbfab80827b581b9a11d357.tar.bz2
upstream-fe5b868a4f0625f81dbfab80827b581b9a11d357.zip
kernel: add dummy net device
Thank you Thomas Jansen. (partly closes #5849) SVN-Revision: 24272
-rw-r--r--package/kernel/modules/netdevices.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
index 61fccf4fd7..1290b7f5fa 100644
--- a/package/kernel/modules/netdevices.mk
+++ b/package/kernel/modules/netdevices.mk
@@ -501,3 +501,17 @@ define KernelPackage/solos-pci/description
endef
$(eval $(call KernelPackage,solos-pci))
+
+define KernelPackage/dummy
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Dummy network device
+ KCONFIG:=CONFIG_DUMMY
+ FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
+ AUTOLOAD:=$(call AutoLoad,34,dummy)
+endef
+
+define KernelPackage/dummy/description
+ The dummy network device
+endef
+
+$(eval $(call KernelPackage,dummy))