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

From: Florian Fainelli
Date: Thu May 23 2024 - 11:30:59 EST




On 5/20/2024 11:54 PM, 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: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian