Re: Registering IRQ for MT7530 internal PHYs

From: Andrew Lunn
Date: Wed Dec 30 2020 - 10:17:16 EST


> 2. Allocated ds->slave_mii_bus before calling ds->ops->setup, because
> we cannot call dsa_slave_mii_bus_init which is private.
>
> Any better ideas?

Do what mv88e6xxx does, allocate the MDIO bus inside the switch
driver.

Andrew