Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'remove-kconfig-sysmbol-mdio_bus'

Heiner Kallweit says:

====================
remove Kconfig sysmbol MDIO_BUS

MDIO-based regmap is the last user of config symbol MDIO_BUS.
MDIO access needs a MII bus, which requires PHYLIB for the provider part.
Therefore make REGMAP_MDIO depend on PHYLIB, what allows to remove
config symbol MDIO_BUS.
====================

Link: https://patch.msgid.link/bc63cf87-3dba-4ab6-9c84-caa7357c3273@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+2 -8
+1 -1
drivers/base/regmap/Kconfig
··· 56 56 57 57 config REGMAP_MDIO 58 58 tristate 59 - select MDIO_BUS 59 + depends on PHYLIB 60 60 61 61 config REGMAP_MMIO 62 62 tristate
-6
drivers/net/phy/Kconfig
··· 3 3 # PHY Layer Configuration 4 4 # 5 5 6 - config MDIO_BUS 7 - tristate "MDIO bus consumer layer" 8 - help 9 - MDIO bus consumer layer 10 - 11 6 config PHYLINK 12 7 tristate 13 8 select PHYLIB ··· 14 19 15 20 menuconfig PHYLIB 16 21 tristate "PHY Device support and infrastructure" 17 - select MDIO_BUS 18 22 help 19 23 Ethernet controllers are usually attached to PHY 20 24 devices. This option provides infrastructure for
+1 -1
drivers/net/phy/Makefile
··· 15 15 libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o 16 16 libphy-$(CONFIG_OPEN_ALLIANCE_HELPERS) += open_alliance_helpers.o 17 17 18 - obj-$(CONFIG_MDIO_BUS) += mdio_bus.o 18 + obj-$(CONFIG_PHYLIB) += mdio_bus.o 19 19 obj-$(CONFIG_PHYLINK) += phylink.o 20 20 obj-$(CONFIG_PHYLIB) += libphy.o 21 21 obj-$(CONFIG_PHYLIB) += mdio_devres.o