[PATCH net 2/3] net: bcmgenet: workaround initial read failures for integrated PHYs

2015-06-26 Thread Florian Fainelli
All BCM7xxx integrated Gigabit PHYs have an issue in their MDIO management controller which will make the initial read or write to them to fail and return 0x. This is a real issue as the typical first thing we do is read from MII_PHYSID1 and MII_PHYSID2 from get_phy_id() to register a driver

[PATCH net 2/3] net: bcmgenet: workaround initial read failures for integrated PHYs

2015-06-26 Thread Florian Fainelli
All BCM7xxx integrated Gigabit PHYs have an issue in their MDIO management controller which will make the initial read or write to them to fail and return 0x. This is a real issue as the typical first thing we do is read from MII_PHYSID1 and MII_PHYSID2 from get_phy_id() to register a driver