Skip to content

Refactor nested mdiobus read/write functions

Neil Armstrong lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: phy: Add nested variants of mdiobus read/writedrivers/net/phy/mdio_bus.c include/linux/phy.h+57 -00 replies
2/3net: dsa: Make mv88e6xxx use nested mdiobus read/writedrivers/net/dsa/mv88e6xxx.c+9 -370 replies
3/3net: dsa: Make mv88e6060 use nested mdiobus read/writedrivers/net/dsa/mv88e6060.c+2 -20 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
SeriesReviewd-by T-b
1/3
2/3
3/3

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 0/3] Refactor nested mdiobus read/write functions

In order to avoid locked signal false positive for nested mdiobus read/write calls, nested code was introduced in mv88e6xxx and mdio-mux.
But mv88e6060 also needs such nested mdiobus read/write calls. For sake of refactoring, introduce nested variants of mdiobus read/write and make them used by mv88e6xxx and mv88e6060.
In a next patch, mdio-mux should also use these variant calls.

Neil Armstrong (3):
net: phy: Add nested variants of mdiobus read/write
net: dsa: Make mv88e6xxx use nested mdiobus read/write
net: dsa: Make mv88e6060 use nested mdiobus read/write

 drivers/net/dsa/mv88e6060.c |  4 ++--
 drivers/net/dsa/mv88e6xxx.c | 46 ++++++++-----------------------------
 drivers/net/phy/mdio_bus.c  | 55 +++++++++++++++++++++++++++++++++++++++++++++
 include/linux/phy.h         |  2 ++
 4 files changed, 68 insertions(+), 39 deletions(-)
Signature · 1 line
1.9.1