[source] kernel: Add kmod-ethoc

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 23 22:14:22 PST 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3

commit 8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Thu Dec 8 19:31:41 2016 -0800

    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 at gmail.com>
---
 package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 787dd40..9145df3 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))



More information about the lede-commits mailing list