Skip to content

net: phy: further decouple provider from consumer part

Heiner Kallweit linux-arm-msm linux-clk linux-phy netdev 2 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. v2 Latest5 patches 2 repliesApplied 5/5
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- patch 2: add needed Kconfig dependency changes
- patch 5: explain false positive checkpatch error

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: phy: move mdio_device reset handling functions in the codedrivers/net/phy/mdio_device.c+81 -810 repliesApplied
2/5net: phy: make mdio_device.c part of libphydrivers/clk/qcom/Kconfig drivers/net/phy/Makefile drivers/net/phy/mdio-private.h +5 more+46 -582 repliesApplied
3/5net: phy: move (of_)mdio_find_bus to mdio_bus_provider.cdrivers/net/phy/mdio_bus.c drivers/net/phy/mdio_bus_provider.c+44 -440 repliesApplied
4/5net: phy: move registering mdio_bus_class and mdio_bus_type to libphydrivers/net/phy/mdio_bus.c drivers/net/phy/phy_device.c+13 -230 repliesApplied
5/5net: phy: move remaining provider code to mdio_bus_provider.cdrivers/net/phy/mdio_bus.c drivers/net/phy/mdio_bus_provider.c drivers/net/phy/phylib-internal.h +1 more+278 -2850 repliesApplied

Reviews trailers per patch

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

PatchStephen Boyd
1/5
2/5A-b
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/5] net: phy: further decouple provider from consumer part

This series aims at further decoupling the provider and consumer part in phylib.

v2:
- patch 2: add needed Kconfig dependency changes
- patch 5: explain false positive checkpatch error

Heiner Kallweit (5):
net: phy: move mdio_device reset handling functions in the code
net: phy: make mdio_device.c part of libphy
net: phy: move (of_)mdio_find_bus to mdio_bus_provider.c
net: phy: move registering mdio_bus_class and mdio_bus_type to libphy
net: phy: move remaining provider code to mdio_bus_provider.c

 drivers/clk/qcom/Kconfig            |   2 +-
 drivers/net/phy/Makefile            |   6 +-
 drivers/net/phy/mdio-private.h      |  11 -
 drivers/net/phy/mdio_bus.c          | 385 ----------------------------
 drivers/net/phy/mdio_bus_provider.c | 319 +++++++++++++++++++++++
 drivers/net/phy/mdio_device.c       | 165 +++++++-----
 drivers/net/phy/phy_device.c        |  13 +
 drivers/net/phy/phylib-internal.h   |   7 +
 drivers/phy/broadcom/Kconfig        |   4 +-
 include/linux/mdio.h                |   2 -
 include/linux/phy.h                 |   3 -
 11 files changed, 444 insertions(+), 473 deletions(-)
 delete mode 100644 drivers/net/phy/mdio-private.h
Signature · 1 line
2.53.0