[LEDE-DEV] [PATCH] kernel: Add kmod-ethoc
John Crispin
john at phrozen.org
Thu Dec 8 23:05:16 PST 2016
On 09/12/2016 04:31, Florian Fainelli wrote:
> 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 | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
> index 787dd40efc9a..e8d80aeefc2c 100644
> --- a/package/kernel/linux/modules/netdevices.mk
> +++ b/package/kernel/linux/modules/netdevices.mk
> @@ -886,3 +886,18 @@ define KernelPackage/spi-ks8995/description
> endef
>
> $(eval $(call KernelPackage,spi-ks8995))
minor nitpick, all the *.mk files have 2 blank lines between
KernelPackage templates. i've added the missing blank line and merged
the patch to my staging tree
John
> +
> +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-dev
mailing list