net: Move network PHY under NETDEVICES
PATCH 1/1 net: Move network PHY under NETDEVICES
A number of network PHY drivers have Kconfig dependencies on various network drivers under NETDEVICES. This is in addition to logical dependencies of network PHYs needing network drivers. Resolve the Kconfig problems by moving the network PHY lines to be after the network devices, within the overall NETDEVICES guard.
---
Cc: Jerome Forissier <[email protected]>
--- drivers/net/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/Kconfig +4 -4
@@ -1,7 +1,3 @@ -source "drivers/net/phy/Kconfig" -source "drivers/net/pfe_eth/Kconfig" -source "drivers/net/fsl-mc/Kconfig" - config ETH def_bool y
@@ -1098,4 +1094,8 @@ config MDIO_MUX_MESON_GXL This driver is used for the MDIO mux found on the Amlogic GXL & compatible SoCs. +source "drivers/net/phy/Kconfig" +source "drivers/net/pfe_eth/Kconfig" +source "drivers/net/fsl-mc/Kconfig" + endif # NETDEVICES
Signature · 1 line
2.43.0
Quoted 6 lines · Tom Rini
A number of network PHY drivers have
Kconfigdependencies on various network drivers under NETDEVICES. This is in addition to logical dependencies of network PHYs needing network drivers. Resolve theKconfigproblems by moving the network PHY lines to be after the network devices, within the overall NETDEVICES guard.
Quoted 6 lines
Signed-off-by Tom Rini <[email protected]>---
Cc: Jerome Forissier <[email protected]>--- drivers/net/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Indeed.
Quoted 13 lines
drivers/net/Kconfig +0
-4@@ -1,7 +1,3 @@ -source "drivers/net/phy/Kconfig" -source "drivers/net/pfe_eth/Kconfig" -source "drivers/net/fsl-mc/Kconfig" - config ETH def_bool y
drivers/net/Kconfig config MDIO_MUX_MESON_GXL · line 1101
Quoted 8 lines
drivers/net/Kconfig +4
-0@@ -1098,4 +1094,8 @@ config MDIO_MUX_MESON_GXL This driver is used for the MDIO mux found on the Amlogic GXL & compatible SoCs. +source "drivers/net/phy/Kconfig" +source "drivers/net/pfe_eth/Kconfig" +source "drivers/net/fsl-mc/Kconfig" + endif # NETDEVICES
Thanks,
Signature · 1 line
Jerome