Re: [net] net: usb: smsc95xx: fix external PHY reset

From: Sergei Shtylyov
Date: Mon Nov 14 2022 - 06:43:41 EST


Hello!

On 11/14/22 4:16 PM, Alexandru Tachici wrote:

> An external PHY needs settling time after power up or reser.

Reset? :-)

> In the bind() function an mdio bus is registered. If at this point
> the external PHY is still initialising, no valid PHY ID will be
> read and on phy_find_first() the bind() function will fail.
>
> If an external PHY is present, wait the maximum time specified
> in 802.3 45.2.7.1.1.
>
> Fixes: 05b35e7eb9a1 ("smsc95xx: add phylib support")
> Signed-off-by: Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>

[...]

MBR, Sergey