From e723cb6131df7a1447ed8ff275e8d8ac899a7535 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 1 Aug 2023 18:04:24 +0100 Subject: 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 (cherry picked from commit 2a5c7bf6213cc12d4ae6b7bce5d777b3518a89c1) --- package/kernel/linux/modules/netdevices.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'package/kernel') 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) -- cgit v1.2.3