瀏覽代碼

kernel: Add kmod-ethoc

Add the kernel module package for the Opencores.org Ethernet MAC,
depends on PHYLIB.

Signed-off-by: Florian Fainelli <[email protected]>
Florian Fainelli 8 年之前
父節點
當前提交
8bf69ee78c
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      package/kernel/linux/modules/netdevices.mk

+ 16 - 0
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))