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.

net: phy: remove Kconfig symbol MDIO_DEVRES

MDIO_DEVRES is only set where PHYLIB/PHYLINK are set which
select MDIO_DEVRES. So we can remove this symbol.

Note: Due to circular module dependencies we can't simply
make mdio_devres.c part of phylib.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/27cba535-f507-4b32-84a3-0744c783a465@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Heiner Kallweit and committed by
Jakub Kicinski
73d95284 0aa4024b

+1 -18
-1
drivers/net/ethernet/freescale/Kconfig
··· 71 71 tristate "Freescale XGMAC MDIO" 72 72 select PHYLIB 73 73 depends on OF 74 - select MDIO_DEVRES 75 74 select OF_MDIO 76 75 help 77 76 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
-2
drivers/net/ethernet/freescale/enetc/Kconfig
··· 25 25 config FSL_ENETC 26 26 tristate "ENETC PF driver" 27 27 depends on PCI_MSI 28 - select MDIO_DEVRES 29 28 select FSL_ENETC_CORE 30 29 select FSL_ENETC_IERB 31 30 select FSL_ENETC_MDIO ··· 42 43 config NXP_ENETC4 43 44 tristate "ENETC4 PF driver" 44 45 depends on PCI_MSI 45 - select MDIO_DEVRES 46 46 select FSL_ENETC_CORE 47 47 select FSL_ENETC_MDIO 48 48 select NXP_ENETC_PF_COMMON
-1
drivers/net/ethernet/marvell/Kconfig
··· 34 34 config MVMDIO 35 35 tristate "Marvell MDIO interface support" 36 36 depends on HAS_IOMEM 37 - select MDIO_DEVRES 38 37 select PHYLIB 39 38 help 40 39 This driver supports the MDIO interface found in the network
-1
drivers/net/ethernet/qualcomm/Kconfig
··· 52 52 depends on HAS_DMA && HAS_IOMEM 53 53 select CRC32 54 54 select PHYLIB 55 - select MDIO_DEVRES 56 55 help 57 56 This driver supports the Qualcomm Technologies, Inc. Gigabit 58 57 Ethernet Media Access Controller (EMAC). The controller
-11
drivers/net/mdio/Kconfig
··· 38 38 help 39 39 ACPI MDIO bus (Ethernet PHY) accessors 40 40 41 - config MDIO_DEVRES 42 - tristate 43 - 44 41 config MDIO_SUN4I 45 42 tristate "Allwinner sun4i MDIO interface support" 46 43 depends on ARCH_SUNXI || COMPILE_TEST ··· 57 60 tristate "ASPEED MDIO bus controller" 58 61 depends on ARCH_ASPEED || COMPILE_TEST 59 62 depends on OF_MDIO && HAS_IOMEM 60 - select MDIO_DEVRES 61 63 help 62 64 This module provides a driver for the independent MDIO bus 63 65 controllers found in the ASPEED AST2600 SoC. This is a driver for the ··· 126 130 config MDIO_MVUSB 127 131 tristate "Marvell USB to MDIO Adapter" 128 132 depends on USB 129 - select MDIO_DEVRES 130 133 help 131 134 A USB to MDIO converter present on development boards for 132 135 Marvell's Link Street family of Ethernet switches. ··· 133 138 config MDIO_MSCC_MIIM 134 139 tristate "Microsemi MIIM interface support" 135 140 depends on HAS_IOMEM && REGMAP_MMIO 136 - select MDIO_DEVRES 137 141 help 138 142 This driver supports the MIIM (MDIO) interface found in the network 139 143 switches of the Microsemi SoCs; it is recommended to switch on ··· 150 156 depends on (64BIT && OF_MDIO) || COMPILE_TEST 151 157 depends on HAS_IOMEM 152 158 select MDIO_CAVIUM 153 - select MDIO_DEVRES 154 159 help 155 160 This module provides a driver for the Octeon and ThunderX MDIO 156 161 buses. It is required by the Octeon and ThunderX ethernet device ··· 159 166 tristate "Qualcomm IPQ4019 MDIO interface support" 160 167 depends on HAS_IOMEM && OF_MDIO 161 168 depends on COMMON_CLK 162 - select MDIO_DEVRES 163 169 help 164 170 This driver supports the MDIO interface found in Qualcomm 165 171 IPQ40xx, IPQ60xx, IPQ807x and IPQ50xx series Soc-s. ··· 167 175 tristate "Qualcomm IPQ8064 MDIO interface support" 168 176 depends on HAS_IOMEM && OF_MDIO 169 177 depends on MFD_SYSCON 170 - select MDIO_DEVRES 171 178 help 172 179 This driver supports the MDIO interface found in the network 173 180 interface units of the IPQ8064 SoC ··· 174 183 config MDIO_REALTEK_RTL9300 175 184 tristate "Realtek RTL9300 MDIO interface support" 176 185 depends on MACH_REALTEK_RTL || COMPILE_TEST 177 - select MDIO_DEVRES 178 186 help 179 187 This driver supports the MDIO interface found in the Realtek 180 188 RTL9300 family of Ethernet switches with integrated SoC. ··· 194 204 depends on 64BIT 195 205 depends on PCI 196 206 select MDIO_CAVIUM 197 - select MDIO_DEVRES 198 207 help 199 208 This driver supports the MDIO interfaces found on Cavium 200 209 ThunderX SoCs when the MDIO bus device appears as a PCI
-1
drivers/net/phy/Kconfig
··· 15 15 menuconfig PHYLIB 16 16 tristate "PHY Device support and infrastructure" 17 17 select MDIO_DEVICE 18 - select MDIO_DEVRES 19 18 help 20 19 Ethernet controllers are usually attached to PHY 21 20 devices. This option provides infrastructure for
+1 -1
drivers/net/phy/Makefile
··· 20 20 else 21 21 obj-$(CONFIG_MDIO_DEVICE) += mdio-bus.o 22 22 endif 23 - obj-$(CONFIG_MDIO_DEVRES) += mdio_devres.o 23 + obj-$(CONFIG_PHYLIB) += mdio_devres.o 24 24 libphy-$(CONFIG_SWPHY) += swphy.o 25 25 libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o 26 26 libphy-$(CONFIG_OPEN_ALLIANCE_HELPERS) += open_alliance_helpers.o