kernel: add dummy net device
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Dec 2010 21:23:21 +0000 (21:23 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Dec 2010 21:23:21 +0000 (21:23 +0000)
Thank you Thomas Jansen.
(partly closes #5849)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24272 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/netdevices.mk

index 61fccf4..1290b7f 100644 (file)
@@ -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))
This page took 0.022335 seconds and 4 git commands to generate.