Subject: commit e34d65696d2e broke stmmac ethernet on socfpga

From: Dinh Nguyen <[email-masked]>
Date: Fri, 18 Dec 2015 11:45:09 -0600

Hi,

It appears that commit e34d65696d2e 'stmmac: create of compatible mdio
bus for
stmmac driver' is causing this error on the SoCFPGA platform:

[    1.767246] libphy: PHY stmmac-0:ffffffff not found
[    1.772106] eth0: Could not attach to PHY
[    1.776129] stmmac_open: Cannot attach to PHY (error: -19)
[    1.781590] IP-Config: Failed to open eth0
[    1.785681] IP-Config: No network devices available

Doing a revert of this commit fixes the issue. Will try to debug further.

Thanks,
Dinh