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>
This commit is contained in:
Florian Fainelli 2016-12-08 19:31:41 -08:00 committed by John Crispin
parent 4f033b2da6
commit 8bf69ee78c

View file

@ -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))