Skip to content

net: mdio-mux: Recover gracefully from bad parents

Sean Anderson u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Don't try to get the parent unless the mux is active

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: mdio-mux: Don't crash if our parent never shows upnet/mdio-mux-uclass.c+9 -00 replies
2/2net: mdio-mux: Remove ourselves when our parent is removeddrivers/net/Kconfig net/mdio-mux-uclass.c+31 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] net: mdio-mux: Recover gracefully from bad parents

This series fixes a few bugs I ran into when the parent MDIO bus doesn't behave. You can reproduce these problems by running mdio list on a board where the parent MDIO bus fails to probe (such as if there's no MAC and NET_RANDOM_ETHADDR is disabled).

Changes in v2:
- Don't try to get the parent unless the mux is active

Sean Anderson (2):
net: mdio-mux: Don't crash if our parent never shows up
net: mdio-mux: Remove ourselves when our parent is removed

 drivers/net/Kconfig   |  1 +
 net/mdio-mux-uclass.c | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

---
base-commit: 2b8902913c19eb581fb0d567201c09b8fa46ac74
branch: mdio_mux_parent

Signature · 1 line
2.53.0