# Re: \[PATCH v3 net\] net: phy: micrel: set soft\_reset callback to genphy\_soft\_reset for KSZ8081

- From: Andrew Lunn \<andrew@lunn.ch\>
- Date: 2021-02-25 02:00:56 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/02/11197379
- Thread: https://ratatoskr.run/netdev/2021/02/11197346/t.md

```text
On Wed, Feb 24, 2021 at 09:55:36PM +0100, Christian Melki wrote:
> Following a similar reinstate for the KSZ9031.
> 
> Older kernels would use the genphy_soft_reset if the PHY did not implement
> a .soft_reset.
> 
> Bluntly removing that default may expose a lot of situations where various
> PHYs/board implementations won't recover on various changes.
> Like with this implementation during a 4.9.x to 5.4.x LTS transition.
> I think it's a good thing to remove unwanted soft resets but wonder if it
> did open a can of worms?
> 
> Atleast this fixes one iMX6 FEC/RMII/8081 combo.
> 
> Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset")
> Signed-off-by: Christian Melki <redacted>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
```
