add kmod for dm9000
authorJohn Crispin <john@openwrt.org>
Sun, 3 Jul 2011 17:37:18 +0000 (17:37 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 3 Jul 2011 17:37:18 +0000 (17:37 +0000)
SVN-Revision: 27402

package/kernel/modules/netdevices.mk

index f5d5c4e8653ab6ff31ba806b478262aa670119c0..9a46689843e9b14c20591aba0387f25fa51ccb13 100644 (file)
@@ -623,3 +623,17 @@ define KernelPackage/ifb/description
 endef
 
 $(eval $(call KernelPackage,ifb))
+
+define KernelPackage/dm9000
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=Davicom 9000 Ethernet support (in-kernel)
+  KCONFIG:=CONFIG_DM9000=y \
+    CONFIG_DM9000_DEBUGLEVEL=4 \
+    CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
+endef
+
+define KernelPackage/dm9000/description
+ Kernel driver for Davicom 9000 Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,dm9000))