Messages in this thread |  | | From | Andy Shevchenko <> | | Subject | [PATCH net-next v1 0/5] net: mdiobus: HIde ACPI implementation | | Date | Mon, 4 May 2026 09:29:51 +0200 |
| |
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
-- 2.50.1
|  |