summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-12 15:21:40 -0600
committerJerome Forissier <[email protected]>2025-12-01 10:37:06 +0100
commit05acfaef21d41163740eeba228519940c694166c (patch)
tree10905b67c6bf39c5f6d38a0c8248975754eacc0a /drivers
parentd2145a89bcf6d64c8ea69910a40f4d66766cccb0 (diff)
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". Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index b254a0f4591..57803ab5c59 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -238,6 +238,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
@@ -342,6 +343,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"