kernel: netdev: add kmod-phylink
authorDavid Bauer <mail@david-bauer.net>
Sun, 26 Apr 2020 09:02:16 +0000 (11:02 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 26 Apr 2020 09:48:14 +0000 (11:48 +0200)
Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/linux/modules/netdevices.mk

index 81b23f98df6edef4b498ff641a1b7075aa044dc1..012017425ad739a49e5932309e068b300f24ed61 100644 (file)
@@ -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