|
@@ -387,7 +387,7 @@ static int fsl_pq_mdio_probe(struct of_device *ofdev,
|
|
* The TBIPHY-only buses will find PHYs at every address,
|
|
* The TBIPHY-only buses will find PHYs at every address,
|
|
* so we mask them all but the TBI
|
|
* so we mask them all but the TBI
|
|
*/
|
|
*/
|
|
- if (!of_device_is_compatible(np, "fsl,gianfar-mdio"))
|
|
|
|
|
|
+ if (of_device_is_compatible(np, "fsl,gianfar-tbi"))
|
|
new_bus->phy_mask = ~(1 << tbiaddr);
|
|
new_bus->phy_mask = ~(1 << tbiaddr);
|
|
|
|
|
|
err = mdiobus_register(new_bus);
|
|
err = mdiobus_register(new_bus);
|