On Fri, Oct 14, 2016 at 07:49:56AM -0500, Timur Tabi wrote: > Andrew Lunn wrote: > >So are you seeing that the reads to MII_PHYSID1 and MII_PHYSID2 return > >0xffff, when called from get_phy_id()?
Have you tried using the ethernet-phy-id device tree property? It looks like that will allow you to skip get_phy_device and just create the phy device. You can then bring the phy out of sleep in the probe function? Andrew