On Fri, Oct 27, 2023 at 08:57:38AM +0200, A. Sverdlin wrote: > From: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx> > > When LAN9303 is MDIO-connected two callchains exist into > mdio->bus->write(): > > 1. switch ports 1&2 ("physical" PHYs): > > virtual (switch-internal) MDIO bus (lan9303_switch_ops->phy_{read|write})-> > lan9303_mdio_phy_{read|write} -> mdiobus_{read|write}_nested > > 2. LAN9303 virtual PHY: > > virtual MDIO bus (lan9303_phy_{read|write}) -> > lan9303_virt_phy_reg_{read|write} -> regmap -> lan9303_mdio_{read|write} > Cc: stable@xxxxxxxxxxxxxxx > Fixes: dc7005831523 ("net: dsa: LAN9303: add MDIO managed mode support") > Signed-off-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew