[openwrt/openwrt] kernel: netdevices: add driver for Marvell 10G Ethernet PHYs

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 7 15:54:36 PDT 2023


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/e723cb6131df7a1447ed8ff275e8d8ac899a7535

commit e723cb6131df7a1447ed8ff275e8d8ac899a7535
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Aug 1 18:04:24 2023 +0100

    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 at makrotopia.org>
    (cherry picked from commit 2a5c7bf6213cc12d4ae6b7bce5d777b3518a89c1)
---
 package/kernel/linux/modules/netdevices.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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)




More information about the lede-commits mailing list