> 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
> 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