Skip to content

net: phy: remove mdio_board_info support from phylib

Heiner Kallweit netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: dsa: dsa_loop: remove usage of mdio_board_infodrivers/net/dsa/Makefile drivers/net/dsa/dsa_loop.c drivers/net/dsa/dsa_loop.h +1 more+60 -621 replyApplied
2/2net: phy: remove mdio_board_info support from phylibdrivers/net/phy/Makefile drivers/net/phy/mdio-boardinfo.c drivers/net/phy/mdio-boardinfo.h +2 more+1 -1410 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchVladimir Oltean
1/2R-b T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: phy: remove mdio_board_info support from phylib

Since its introduction in 2017 mdio_board_info has had only two users:
- dsa_loop (still existing)
- arm orion, added in 2017 and removed with fd68572b57f2 ("ARM: orion5x:
remove dsa_chip_data references")

So let's remove usage of mdio_board_info from dsa_loop, then support for mdio_board_info can be dropped from phylib.

Heiner Kallweit (2):
net: dsa: dsa_loop: remove usage of mdio_board_info
net: phy: remove mdio_board_info support from phylib

 drivers/net/dsa/Makefile            |  3 --
 drivers/net/dsa/dsa_loop.c          | 63 +++++++++++++++++++++--
 drivers/net/dsa/dsa_loop.h          | 20 --------
 drivers/net/dsa/dsa_loop_bdinfo.c   | 36 -------------
 drivers/net/phy/Makefile            |  2 +-
 drivers/net/phy/mdio-boardinfo.c    | 79 -----------------------------
 drivers/net/phy/mdio-boardinfo.h    | 18 -------
 drivers/net/phy/mdio_bus_provider.c | 33 ------------
 include/linux/phy.h                 | 10 ----
 9 files changed, 61 insertions(+), 203 deletions(-)
 delete mode 100644 drivers/net/dsa/dsa_loop.h
 delete mode 100644 drivers/net/dsa/dsa_loop_bdinfo.c
 delete mode 100644 drivers/net/phy/mdio-boardinfo.c
 delete mode 100644 drivers/net/phy/mdio-boardinfo.h
Signature · 1 line
2.51.0