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 <trini@konsulko.com>
This commit is contained in:
Tom Rini 2025-11-12 15:21:40 -06:00 committed by Jerome Forissier
parent d2145a89bc
commit 05acfaef21

View File

@ -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"