net: mdio: Rearrange Kconfig menus
Subsystems (3)
v2 cover net: mdio: Rearrange Kconfig menus
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/[email protected]
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(-)
Signature · 1 line
2.55.0
PATCH v2 1/2 net: mdio: Kconfig: Group mdio controller drivers in a submenu
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.
--- drivers/net/mdio/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/mdio/Kconfig +3 -3
@@ -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
Signature · 1 line
2.55.0
PATCH v2 2/2 net: mdio: Kconfig: Group mdio multiplexers in a submenu
In reply to Maxime ChevallierMove all MDIO muxes under the "MDIO controller drivers" submenu.
This doesn't change any dependency for KConfig options and is purely cosmetic.
--- drivers/net/mdio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/mdio/Kconfig +2 -1
@@ -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
Signature · 1 line
2.55.0
Re: [PATCH net-next v2 2/2] net: mdio: Kconfig: Group mdio multiplexers in a submenu
Quoted 7 lines · Maxime Chevallier
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 <[email protected]>Signed-off-by Maxime Chevallier <[email protected]>
Andrew
Re: [PATCH net-next v2 1/2] net: mdio: Kconfig: Group mdio controller drivers in a submenu
In reply to Maxime ChevallierQuoted 7 lines · Maxime Chevallier
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 <[email protected]>
Andrew
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 16 lines · On Wed, 15 Jul 2026 10:22:23 +0200 you wrote:
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
...
Quoted 1 line
[...]
Here is the summary with links:
- [net-next,v2,1/2] net: mdio: Kconfig: Group mdio controller drivers in a submenu
https://git.kernel.org/netdev/net-next/c/65f1820835f3 - [net-next,v2,2/2] net: mdio: Kconfig: Group mdio multiplexers in a submenu https://git.kernel.org/netdev/net-next/c/8a48eb846f7e
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html