* [PATCH net-next v2 0/2] net: mdio: Rearrange Kconfig menus
@ 2026-07-15 8:22 Maxime Chevallier
2026-07-15 8:22 ` [PATCH net-next v2 1/2] net: mdio: Kconfig: Group mdio controller drivers in a submenu Maxime Chevallier
2026-07-15 8:22 ` [PATCH net-next v2 2/2] net: mdio: Kconfig: Group mdio multiplexers " Maxime Chevallier
0 siblings, 2 replies; 3+ messages in thread
From: Maxime Chevallier @ 2026-07-15 8:22 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
In menuconfig, all MDIO controllers and muxes are listed directly under the
Device drivers -> Network device support menu.
Let's group these in their own subenu :
Device drivers ->
Network device support ->
MDIO controller drivers ->
Mdio driver A
Mdio driver B
...
MDIO Multiplexers ->
MDIO Mux driver A
MDIO Mux driver B
...
There are no functional or KConfig dependency changes in this series,
just menu reorganisation.
V2:
- Add mux submenu
V1: https://lore.kernel.org/r/20260712201739.260742-1-maxime.chevallier@bootlin.com
Maxime Chevallier (2):
net: mdio: Kconfig: Group mdio controller drivers in a submenu
net: mdio: Kconfig: Group mdio multiplexers in a submenu
drivers/net/mdio/Kconfig | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--
2.55.0
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH net-next v2 1/2] net: mdio: Kconfig: Group mdio controller drivers in a submenu
2026-07-15 8:22 [PATCH net-next v2 0/2] net: mdio: Rearrange Kconfig menus Maxime Chevallier
@ 2026-07-15 8:22 ` Maxime Chevallier
2026-07-15 8:22 ` [PATCH net-next v2 2/2] net: mdio: Kconfig: Group mdio multiplexers " Maxime Chevallier
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Chevallier @ 2026-07-15 8:22 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, all inidivual 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.
No intended functional change besides the menuconfig ordering.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
drivers/net/mdio/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/mdio/Kconfig b/drivers/net/mdio/Kconfig
index e57121019153..b845f1c17843 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
@@ -288,5 +289,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] 3+ messages in thread
* [PATCH net-next v2 2/2] net: mdio: Kconfig: Group mdio multiplexers in a submenu
2026-07-15 8:22 [PATCH net-next v2 0/2] net: mdio: Rearrange Kconfig menus Maxime Chevallier
2026-07-15 8:22 ` [PATCH net-next v2 1/2] net: mdio: Kconfig: Group mdio controller drivers in a submenu Maxime Chevallier
@ 2026-07-15 8:22 ` Maxime Chevallier
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Chevallier @ 2026-07-15 8:22 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,
Andrew Lunn
Move all MDIO muxes under the "MDIO controller drivers" submenu.
This doesn't change any dependency for KConfig options and is
purely cosmetic.
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
drivers/net/mdio/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mdio/Kconfig b/drivers/net/mdio/Kconfig
index b845f1c17843..a05229838cb4 100644
--- a/drivers/net/mdio/Kconfig
+++ b/drivers/net/mdio/Kconfig
@@ -199,7 +199,7 @@ config MDIO_THUNDER
ThunderX SoCs when the MDIO bus device appears as a PCI
device.
-comment "MDIO Multiplexers"
+menu "MDIO Multiplexers"
config MDIO_BUS_MUX
tristate
@@ -290,3 +290,4 @@ config MDIO_BUS_MUX_MMIOREG
Currently, only 8/16/32 bits registers are supported.
endmenu
+endmenu
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-15 8:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 8:22 [PATCH net-next v2 0/2] net: mdio: Rearrange Kconfig menus Maxime Chevallier
2026-07-15 8:22 ` [PATCH net-next v2 1/2] net: mdio: Kconfig: Group mdio controller drivers in a submenu Maxime Chevallier
2026-07-15 8:22 ` [PATCH net-next v2 2/2] net: mdio: Kconfig: Group mdio multiplexers " Maxime Chevallier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox