Skip to contentSkip to conversation

net: phy: Disallow PHY_MSCC and PHY_VITESSE under COMPILE_TEST

PATCH New Tom Rini 1 participant 1 message Nov 12, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 net: phy: Disallow PHY_MSCC and PHY_VITESSE under COMPILE_TEST

These two PHY drivers have some overlap of supported PHYs. A longer term effort is needed to both remove duplication and enhance support by dealing with some issues that downstream vendor drivers address. For now, make both of these depend on !COMPILE_TEST so that we can enable "allyesconfig".

---
 drivers/net/phy/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/phy/Kconfig +2 -0
index 018be98705a2..791bb58b0482 100644
@@ -236,6 +236,7 @@ config PHY_MOTORCOMM
 	  Currently supports the YT8511 and YT8531 Gigabit Ethernet PHYs.
 
 config PHY_MSCC
+	depends on !COMPILE_TEST
 	bool "Microsemi Corp Ethernet PHYs support"
 
 config PHY_NATSEMI
@@ -340,6 +341,7 @@ config PHY_TI_GENERIC
 
 config PHY_VITESSE
 	bool "Vitesse Ethernet PHYs support"
+	depends on !COMPILE_TEST
 
 config PHY_XILINX
 	bool "Xilinx Ethernet PHYs support"
Signature · 1 line
2.43.0