Skip to content

net: mdiobus: HIde ACPI implementation

Andy Shevchenko lkml llvm netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: mdiobus: Provide fwnode_mdiobus_register()drivers/net/mdio/fwnode_mdio.c include/linux/fwnode_mdio.h+32 -00 replies
2/5net: mvmdio: Switch to using fwnode_mdiobus_register()drivers/net/ethernet/marvell/mvmdio.c+2 -90 replies
3/5net/fsl: xgmac_mdio: Switch to using fwnode_mdiobus_register()drivers/net/ethernet/freescale/xgmac_mdio.c+3 -100 replies
4/5net/fsl: xgmac_mdio: Reuse existing pointer to fwnodedrivers/net/ethernet/freescale/xgmac_mdio.c+5 -50 replies
5/5net: mdiobus: Hide acpi_mdio.hdrivers/net/mdio/acpi_mdio.c drivers/net/mdio/fwnode_mdio.c drivers/net/mdio/mdio.h +1 more+8 -350 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next v1 0/5] net: mdiobus: HIde ACPI implementation

This mini-series is dedicated to hiding ACPI implementation details from the wider users as they (as of today) do not need to know that. That also introduces the agnostic API that is preferred over OF / ACPI / et cetera one.

I haven't tried to unify __*_mdiobus_register() as it seems using something that may differ in ACPI vs. OF cases, it can be done later on, if one knows how to do that with all the details.

The change has been compile tested (including configurations with CONFIG_ACPI=n).

Andy Shevchenko (5):
net: mdiobus: Provide fwnode_mdiobus_register()
net: mvmdio: Switch to using fwnode_mdiobus_register() net/fsl: xgmac_mdio: Switch to using fwnode_mdiobus_register() net/fsl: xgmac_mdio: Reuse existing pointer to fwnode
net: mdiobus: Hide acpi_mdio.h

 drivers/net/ethernet/freescale/xgmac_mdio.c | 23 +++++---------
 drivers/net/ethernet/marvell/mvmdio.c       | 11 ++-----
 drivers/net/mdio/acpi_mdio.c                |  3 +-
 drivers/net/mdio/fwnode_mdio.c              | 16 ++++++++++
 drivers/net/mdio/mdio.h                     |  4 +++
 include/linux/acpi_mdio.h                   | 33 ---------------------
 include/linux/fwnode_mdio.h                 | 17 +++++++++++
 7 files changed, 49 insertions(+), 58 deletions(-)
 create mode 100644 drivers/net/mdio/mdio.h
 delete mode 100644 include/linux/acpi_mdio.h
Signature · 1 line
2.50.1