summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-07 18:21:01 +0000
committerJohn Crispin <john@openwrt.org>2011-07-07 18:21:01 +0000
commitf1af9625608fd8f87419c0cfb6d43b817d6095ea (patch)
tree0bed455b28551e8b7aa8dfab10708d14856ee4e3 /package
parentb75a8fb5327e5dd89f9941c14f6eef474f4b470d (diff)
downloadmtk-20170518-f1af9625608fd8f87419c0cfb6d43b817d6095ea.zip
mtk-20170518-f1af9625608fd8f87419c0cfb6d43b817d6095ea.tar.gz
mtk-20170518-f1af9625608fd8f87419c0cfb6d43b817d6095ea.tar.bz2
kmod-dm9000 should build as a module
SVN-Revision: 27543
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netdevices.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
index 9a46689..2cbc3c1 100644
--- a/package/kernel/modules/netdevices.mk
+++ b/package/kernel/modules/netdevices.mk
@@ -626,10 +626,12 @@ $(eval $(call KernelPackage,ifb))
define KernelPackage/dm9000
SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Davicom 9000 Ethernet support (in-kernel)
- KCONFIG:=CONFIG_DM9000=y \
+ TITLE:=Davicom 9000 Ethernet support
+ KCONFIG:=CONFIG_DM9000 \
CONFIG_DM9000_DEBUGLEVEL=4 \
CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
+ FILES:=$(LINUX_DIR)/drivers/net/dm9000.ko
+ AUTOLOAD:=$(call AutoLoad,34,dm9000)
endef
define KernelPackage/dm9000/description