2022-11-14 11:44:40

by Russell King (Oracle)

[permalink] [raw]
Subject: Re: [net] net: usb: smsc95xx: fix external PHY reset

On Mon, Nov 14, 2022 at 03:16:43PM +0200, Alexandru Tachici wrote:
> + } else {
> + /* Driver has no knowledge at this point about the external PHY.
> + * The 802.3 specifies that the reset process shall
> + * be completed within 0.5 s.
> + */
> + fsleep(500000);
> + }

It's slightly more code, but would it be better to do this in the
mdiobus reset() method?

Thanks.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!