Re: [PATCH] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8061

From: Andrew Lunn
Date: Thu May 23 2024 - 10:16:20 EST


On Tue, May 21, 2024 at 08:54:06AM +0200, Mathieu Othacehe wrote:
> Following a similar reinstate for the KSZ8081 and KSZ9031.
>
> Older kernels would use the genphy_soft_reset if the PHY did not implement
> a .soft_reset.
>
> The KSZ8061 errata described here:
> https://ww1.microchip.com/downloads/en/DeviceDoc/KSZ8061-Errata-DS80000688B.pdf
> and worked around with 232ba3a51c ("net: phy: Micrel KSZ8061: link failure after cable connect")
> is back again without this soft reset.
>
> Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset")
> Tested-by: Karim Ben Houcine <karim.benhoucine@xxxxxxxxxxxxx>
> Signed-off-by: Mathieu Othacehe <othacehe@xxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew