Skip to content

net: phy: Allow splitting MDIO bus/device support

Florian Fainelli netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v21 patch 0 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

- corrected of_mdio compile guards for prototypes vs. stubs
- added a missing OF_MDIO dependency for MDIO_BCM_UNIMAC
- fixed Kbuild bot reported errors against mdio-bitbang

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of_mdio: Correct check against CONFIG_OFinclude/linux/of_mdio.h+2 -20 replies
2/3net: phy: MDIO_BCM_UNIMAC should depend on OF_MDIOdrivers/net/phy/Kconfig+1 -10 replies
3/3net: phy: Allow splitting MDIO bus/device support from PHYsdrivers/net/Makefile drivers/net/phy/Kconfig drivers/net/phy/Makefile +3 more+76 -301 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] net: phy: Allow splitting MDIO bus/device support

Hi all,

This patch series allows building support for MDIO bus controllers which are sometimes usable and necessary in cases where there are no Ethernet PHYs.

Changes in v3:
- corrected of_mdio compile guards for prototypes vs. stubs
- added a missing OF_MDIO dependency for MDIO_BCM_UNIMAC
- fixed Kbuild bot reported errors against mdio-bitbang

Changes in v2:
- implement Russell's feedback
- solve the circular dependency in the CONFIG_MDIO_DEVICE + CONFIG_PHYLIB case

Florian Fainelli (3):
of_mdio: Correct check against CONFIG_OF
net: phy: MDIO_BCM_UNIMAC should depend on OF_MDIO
net: phy: Allow splitting MDIO bus/device support from PHYs

 drivers/net/Makefile             |  2 +-
 drivers/net/phy/Kconfig          | 62 +++++++++++++++++++++++-----------------
 drivers/net/phy/Makefile         | 13 +++++++--
 drivers/net/phy/mdio-boardinfo.c |  1 +
 drivers/net/phy/mdio_bus.c       |  9 ++++++
 include/linux/of_mdio.h          |  4 +--
 include/linux/phy.h              | 21 ++++++++++++--
 7 files changed, 79 insertions(+), 33 deletions(-)
Signature · 1 line
2.9.3