[PATCH net-next v2 0/3] net: phy: marvell10g: implement suspend/resume callbacks

From: Antoine Tenart
Date: Fri Mar 01 2019 - 06:01:02 EST


Hello,

This series implements the suspend/resume callbacks in the marvell10g
PHY driver:

- When the PHY isn't used, it is set in low power mode.
- At boot time we might now know the PHY status (as it's depending on
the hardware configuration, or on what the previous stages
configured), it is forced in low power.

Doing this prevents a PHY which was initialized in a previous stage from
negotiating with the link partner when a local port is down. If the PHY
isn't shutdown when a port is not used, the link partner's PHY may
report the link being up while it's not.

Thanks,
Antoine

Since v1:
- Fixed a mix up in the patches where two implementations of the
suspend/resume callbacks were kept in the driver.
- Rebased on the latest net-next.

Antoine Tenart (3):
net: phy: marvell10g: implement suspend/resume callbacks
net: phy: marvell10g: add the suspend/resume callbacks for the 88x2210
net: phy: marvell10g: set the PHY in low power by default

drivers/net/phy/marvell10g.c | 39 ++++++++++++++++++++++++++----------
1 file changed, 28 insertions(+), 11 deletions(-)

--
2.20.1