aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-12-08 19:31:41 -0800
committerJohn Crispin <john@phrozen.org>2016-12-24 06:55:19 +0100
commit8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3 (patch)
treeb43626e6584f5ff1738bc0d16c8b4318c8fea49b /package/kernel/linux/modules/netdevices.mk
parent4f033b2da67f666a98cce267c2426fb532c90590 (diff)
downloadupstream-8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3.tar.gz
upstream-8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3.tar.bz2
upstream-8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3.zip
kernel: Add kmod-ethoc
Add the kernel module package for the Opencores.org Ethernet MAC, depends on PHYLIB. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 787dd40efc..9145df37b8 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -886,3 +886,19 @@ define KernelPackage/spi-ks8995/description
endef
$(eval $(call KernelPackage,spi-ks8995))
+
+
+define KernelPackage/ethoc
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Opencore.org ethoc driver
+ DEPENDS:=+kmod-libphy
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko
+ KCONFIG:=CONFIG_ETHOC
+ AUTOLOAD:=$(call AutoProbe,ethoc)
+endef
+
+define KernelPackage/ethoc/description
+ Kernel module for the Opencores.org ethernet adapter
+endef
+
+$(eval $(call KernelPackage,ethoc))