summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-25 01:47:32 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-25 01:47:32 +0000
commit42e1df0613274126d60f19d5da0600da401ec8f6 (patch)
treebb54b72a673a25bcb3b81787cda15cfdcf7a9832
parent04fbf12b634e18cdb51038c5035afbc34968358a (diff)
kernel: add mii library kernel module package
This package is required for network drivers such as pcnet32 Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38530 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/linux/modules/netdevices.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 9c808e1ba5..6cac27a029 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -95,6 +95,20 @@ endef
$(eval $(call KernelPackage,libphy))
+define KernelPackage/mii
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=MII library
+ KCONFIG:=CONFIG_MII
+ FILES:=$(LINUX_DIR)/drivers/net/mii.ko
+ AUTOLOAD:=$(call AutoLoad,15,mii,1)
+endef
+
+define KernelPackage/mii/description
+ MII library
+endef
+
+$(eval $(call KernelPackage,mii))
+
define KernelPackage/et131x
SUBMENU:=$(NETWORK_DEVICES_MENU)