aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-10-25 01:47:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-10-25 01:47:32 +0000
commit294a57822e56fe60af6f51911e36ecc4de9778cc (patch)
treea41b61e25731ac66c4cbe7921b79a7834c5e4dea
parente37b364ea319b27caf9f8e3fc7805e9af73552b1 (diff)
downloadupstream-294a57822e56fe60af6f51911e36ecc4de9778cc.tar.gz
upstream-294a57822e56fe60af6f51911e36ecc4de9778cc.tar.bz2
upstream-294a57822e56fe60af6f51911e36ecc4de9778cc.zip
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> SVN-Revision: 38530
-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)