Re: commit e34d65696d2e broke stmmac ethernet on socfpga

From: Dinh Nguyen
Date: Mon Jan 04 2016 - 10:25:57 EST


On 01/01/2016 02:49 AM, Romain Perier wrote:
> Hi all,
>
> Same here on rockchip.
> See "[PATCH] stmmac: Don't exit mdio registration when mdio subnode is
> not found in the DTS"
>
> Regards,
> Romain
>
> 2015-12-18 18:45 GMT+01:00 Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx>:
>> 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.
>>

There error is here:

[ 0.663275] socfpga-dwmac ff702000.ethernet eth0: NO MDIO subnode

It appears that his commit requires an update to DTS files, which will
subsequently break legacy DTS.

Also, this commit is only in linux-next.

Dinh

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/