aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-08-01 18:04:24 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-08-07 16:31:27 +0100
commite723cb6131df7a1447ed8ff275e8d8ac899a7535 (patch)
tree92cd786c6716064acf04521085a5c5681e0377a0
parentd25b543aa5d3dd7fbddaf8edf5334d6461ba69e2 (diff)
downloadupstream-e723cb6131df7a1447ed8ff275e8d8ac899a7535.tar.gz
upstream-e723cb6131df7a1447ed8ff275e8d8ac899a7535.tar.bz2
upstream-e723cb6131df7a1447ed8ff275e8d8ac899a7535.zip
kernel: netdevices: add driver for Marvell 10G Ethernet PHYs
Package kernel module for Marvell 10G Ethernet PHYs found also in many 10G/1G/100M/10M RJ-45 SFP+ modules. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 2a5c7bf6213cc12d4ae6b7bce5d777b3518a89c1)
-rw-r--r--package/kernel/linux/modules/netdevices.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 9a47e974fd..b8f2466cb4 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -307,6 +307,24 @@ endef
$(eval $(call KernelPackage,phy-marvell))
+define KernelPackage/phy-marvell-10g
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Marvell 10 Gigabit Ethernet PHY driver
+ KCONFIG:=CONFIG_MARVELL_10G_PHY
+ DEPENDS:=+kmod-libphy
+ FILES:=$(LINUX_DIR)/drivers/net/phy/marvell10g.ko
+ AUTOLOAD:=$(call AutoLoad,18,marvell10g)
+endef
+
+define KernelPackage/phy-marvell/description
+ Supports Marvell 10 Gigabit Ethernet PHYs:
+ * 88E2110
+ * 88E2111
+ * 88x3310
+ * 88x3340
+endef
+
+$(eval $(call KernelPackage,phy-marvell-10g))
define KernelPackage/phy-realtek
SUBMENU:=$(NETWORK_DEVICES_MENU)