Re: [PATCH net-next v2] net: phy: micrel: Add support for lan9645x internal phy

From: Andrew Lunn

Date: Fri Feb 20 2026 - 16:23:03 EST


> So, we should not assume that setting 0.15 will retain configuration in
> the PHY - at least phylib should not assume that a call to
> genphy_soft_reset will not clear the configuration registers. If we
> have code in phylib that makes that assumption, phylib is buggy to
> 802.3.

phylib will call the .soft_reset function provided by the driver, if
there is one. It does not fall back to genphy_soft_reset() if it is
missing. If a driver wants to use genphy_soft_reset() it needs to
assign it to .soft_reset.

Andrew