From: David Bauer Date: Sun, 26 Apr 2020 09:02:16 +0000 (+0200) Subject: kernel: netdev: add kmod-phylink X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b23f72b5b615b31b348c4a3259a0d85d127487f0;p=openwrt%2Fstaging%2Fwigyori.git kernel: netdev: add kmod-phylink Signed-off-by: David Bauer --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 81b23f98df..012017425a 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -107,6 +107,22 @@ endef $(eval $(call KernelPackage,libphy)) + +define KernelPackage/phylink + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Model for MAC to optional PHY connection + KCONFIG:=CONFIG_PHYLINK + FILES:=$(LINUX_DIR)/drivers/net/phy/phylink.ko + AUTOLOAD:=$(call AutoLoad,15,phylink,1) +endef + +define KernelPackage/phylink/description + Model for MAC to optional PHY connection +endef + +$(eval $(call KernelPackage,phylink)) + + define KernelPackage/mii SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=MII library