From: Florian Fainelli Date: Fri, 9 Dec 2016 03:31:41 +0000 (-0800) Subject: kernel: Add kmod-ethoc X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8bf69ee78cfefc0ee87d4a6820a907713e3bc1c3;p=openwrt%2Fstaging%2Fansuel.git kernel: Add kmod-ethoc Add the kernel module package for the Opencores.org Ethernet MAC, depends on PHYLIB. Signed-off-by: Florian Fainelli --- 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))