* [PATCH net-next] net: mdio: Kconfig: Group mdio controller drivers in a submenu
@ 2026-07-12 20:17 Maxime Chevallier
2026-07-14 22:24 ` Andrew Lunn
0 siblings, 1 reply; 2+ messages in thread
From: Maxime Chevallier @ 2026-07-12 20:17 UTC (permalink / raw)
To: Andrew Lunn, davem, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Russell King, Heiner Kallweit
Cc: Maxime Chevallier, netdev, linux-kernel, thomas.petazzoni
Currently in menuconfig, all individual drivers for MDIO bus controllers
are directly listed under Device drivers -> Network device support.
Let's group them altogether in a submenu, while keeping the dependency
on PHYLIB.
All options under the new submenu match the drivers and infrastructure
listed under drivers/net/mdio/Kconfig.
No intended functional change besides the menuconfig ordering.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
drivers/net/mdio/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mdio/Kconfig b/drivers/net/mdio/Kconfig
index e57121019153..b85c9fff9345 100644
--- a/drivers/net/mdio/Kconfig
+++ b/drivers/net/mdio/Kconfig
@@ -3,7 +3,8 @@
# MDIO Layer Configuration
#
-if PHYLIB
+menu "MDIO controller drivers"
+ depends on PHYLIB
config FWNODE_MDIO
def_tristate (ACPI || OF) || COMPILE_TEST
@@ -289,4 +290,4 @@ config MDIO_BUS_MUX_MMIOREG
Currently, only 8/16/32 bits registers are supported.
-endif
+endmenu
--
2.55.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: mdio: Kconfig: Group mdio controller drivers in a submenu
2026-07-12 20:17 [PATCH net-next] net: mdio: Kconfig: Group mdio controller drivers in a submenu Maxime Chevallier
@ 2026-07-14 22:24 ` Andrew Lunn
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2026-07-14 22:24 UTC (permalink / raw)
To: Maxime Chevallier
Cc: Andrew Lunn, davem, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Russell King, Heiner Kallweit, netdev, linux-kernel,
thomas.petazzoni
On Sun, Jul 12, 2026 at 10:17:27PM +0200, Maxime Chevallier wrote:
> Currently in menuconfig, all individual drivers for MDIO bus controllers
> are directly listed under Device drivers -> Network device support.
>
> Let's group them altogether in a submenu, while keeping the dependency
> on PHYLIB.
>
> All options under the new submenu match the drivers and infrastructure
> listed under drivers/net/mdio/Kconfig.
>
> No intended functional change besides the menuconfig ordering.
Looks good to me.
Maybe also move the MDIO MUX drivers into a submenu? There are nearly
as many muxes and MDIO drivers.
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-14 22:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-12 20:17 [PATCH net-next] net: mdio: Kconfig: Group mdio controller drivers in a submenu Maxime Chevallier
2026-07-14 22:24 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox