Re: [PATCH net-next] net: phy: add wol config options in phy device

From: Andrew Lunn
Date: Thu May 02 2024 - 12:37:42 EST


> It would be good to hear exactly why its necessary for phylib to track
> this state, and why the PHY isn't retaining it.

I _think_ it is a hardware reset. The call path is probably:

mdio_bus_phy_resume():
phy_init_hw():
phy_device_reset()
mdio_device_reset()

But it would be good to get this confirmed.

Andrew