Skip to content

Commit 6073512

Browse files
jbrun3tdavem330
authored andcommitted
net: phy: Kconfig: Fix PHY infrastructure menu in menuconfig
Since the integration of PHYLINK, the configuration option which used to be under the PHY infrastructure menu in menuconfig ended up one level up (the network device driver section) By placing PHYLINK option right after PHYLIB entry, it broke the way Kconfig used to build the menu. See kconfig-language.txt, section "Menu structure", 2nd method. This is fixed by placing the PHYLINK option just before PHYLIB. Fixes: 9525ae8 ("phylink: add phylink infrastructure") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fd0e4c5 commit 6073512

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/net/phy/Kconfig

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,6 @@ config MDIO_XGENE
160160

161161
endif
162162

163-
menuconfig PHYLIB
164-
tristate "PHY Device support and infrastructure"
165-
depends on NETDEVICES
166-
select MDIO_DEVICE
167-
help
168-
Ethernet controllers are usually attached to PHY
169-
devices. This option provides infrastructure for
170-
managing PHY devices.
171-
172163
config PHYLINK
173164
tristate
174165
depends on NETDEVICES
@@ -179,6 +170,15 @@ config PHYLINK
179170
configuration links, PHYs, and Serdes links with MAC level
180171
autonegotiation modes.
181172

173+
menuconfig PHYLIB
174+
tristate "PHY Device support and infrastructure"
175+
depends on NETDEVICES
176+
select MDIO_DEVICE
177+
help
178+
Ethernet controllers are usually attached to PHY
179+
devices. This option provides infrastructure for
180+
managing PHY devices.
181+
182182
if PHYLIB
183183

184184
config SWPHY

0 commit comments

Comments
 (0)