aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-04-26 11:02:16 +0200
committerDavid Bauer <mail@david-bauer.net>2020-04-26 11:48:14 +0200
commitb23f72b5b615b31b348c4a3259a0d85d127487f0 (patch)
tree48d36bfaa535c5cceaf96d85877d04b2593bc62d /package
parent4c70bb4f906b875aee1da6636aa7d2023ef69064 (diff)
downloadupstream-b23f72b5b615b31b348c4a3259a0d85d127487f0.tar.gz
upstream-b23f72b5b615b31b348c4a3259a0d85d127487f0.tar.bz2
upstream-b23f72b5b615b31b348c4a3259a0d85d127487f0.zip
kernel: netdev: add kmod-phylink
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netdevices.mk16
1 files changed, 16 insertions, 0 deletions
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