Skip to content

net: phy: add iterator mdiobus_for_each_phy

Heiner Kallweit imx linux-omap netdev 3 versions – 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 · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied 4/4
  2. v24 patches 3 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- add missing return value description for phy_find_next

Patches in v3 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: phy: add iterator mdiobus_for_each_phydrivers/net/phy/phy_device.c include/linux/phy.h+19 -81 replyApplied
2/4net: fec: use new iterator mdiobus_for_each_phydrivers/net/ethernet/freescale/fec_main.c+2 -61 replyApplied
3/4net: davinci_mdio: use new iterator mdiobus_for_each_phydrivers/net/ethernet/ti/davinci_mdio.c+5 -90 repliesApplied
4/4net: phy: use new iterator mdiobus_for_each_phy in mdiobus_prevent_c45_scandrivers/net/phy/mdio_bus_provider.c+4 -90 repliesApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSiddharth VadapalliWei Fang
1/4R-b
2/4R-b
3/4R-b
4/4

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

Read the v3 thread

Cover letter [PATCH v3 net-next 0/4] net: phy: add iterator mdiobus_for_each_phy

Add and use an iterator for all PHY's on a MII bus, and phy_find_next() as a prerequisite.

v2:
- rename iterator to mdiobus_for_each_phy
v3:
- add missing return value description for phy_find_next

Heiner Kallweit (4):
net: phy: add iterator mdiobus_for_each_phy
net: fec: use new iterator mdiobus_for_each_phy
net: davinci_mdio: use new iterator mdiobus_for_each_phy
net: phy: use new iterator mdiobus_for_each_phy in
mdiobus_prevent_c45_scan

 drivers/net/ethernet/freescale/fec_main.c |  8 ++------
 drivers/net/ethernet/ti/davinci_mdio.c    | 14 +++++---------
 drivers/net/phy/mdio_bus_provider.c       | 13 ++++---------
 drivers/net/phy/phy_device.c              | 16 +++++++++-------
 include/linux/phy.h                       | 11 ++++++++++-
 5 files changed, 30 insertions(+), 32 deletions(-)
Signature · 1 line
2.51.1