Re: [PATCH net-next] net: dsa: mt7530: register OF node for internal MDIO bus

From: Vladimir Oltean
Date: Wed Dec 27 2023 - 14:12:08 EST


On Sun, Dec 24, 2023 at 10:37:12AM +0300, Arınç ÜNAL wrote:
> If the MDIO bus of the switch is defined on the devicetree, the
> (!ds->user_mii_bus && ds->ops->phy_read) check in dsa_switch_setup will be
> true so the MDIO bus will be attempted to be registered again, resulting in
> a kernel panic.

Where does mt7530 provide ds->ops->phy_read() in upstream?