[PATCH 0/4] fix barebox support for MDIO-connected Realtek Ethernet switches

Alvin Šipraga alvin at pqrs.dk
Thu Dec 21 18:07:24 PST 2023


While bringing up a new board with an MDIO-connected RTL8365MB, I had to
make some changes to barebox to get network boot to work. This small
series addresses all of the problems I encountered along the way.

Signed-off-by: Alvin Šipraga <alsi at bang-olufsen.dk>
---
Alvin Šipraga (4):
      net: fec_imx: reverse registration order of mdiobus and edev
      net: dsa: realtek: fix support for MDIO-connected switches
      net: dsa: realtek: unify ds_ops
      net: mdio_bus: associate OF nodes with their devices

 drivers/net/fec_imx.c                  |  10 ++--
 drivers/net/phy/mdio_bus.c             |   4 ++
 drivers/net/realtek-dsa/realtek-mdio.c | 105 +++++++++++++++++++++++++--------
 drivers/net/realtek-dsa/realtek-smi.c  |   2 +-
 drivers/net/realtek-dsa/realtek.h      |   3 +-
 drivers/net/realtek-dsa/rtl8365mb.c    |  24 +-------
 drivers/net/realtek-dsa/rtl8366rb.c    |  23 +-------
 7 files changed, 97 insertions(+), 74 deletions(-)
---
base-commit: 934cb2146e5b34eb45c81e3f9bc9b63c95701e43
change-id: 20231222-realtek-mdio-fix-2672b2ef4ae6




More information about the barebox mailing list