net: phy: marvell10g: implement suspend/resume callbacks
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 2 Apr 2019 13:10:28 +0000 (15:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Apr 2019 04:45:48 +0000 (21:45 -0700)
commitaf3e28cb9b271c0898d8919931f275d6aaf82e93
tree0ea5a8b19c6dcbca54b8786e454904295a835249
parent0fd128428a1494d01b826d201dad4cc6571bf2b5
net: phy: marvell10g: implement suspend/resume callbacks

This patch adds the suspend/resume callbacks for Marvell 10G PHYs. The
three PCS (base-t, base-r and 1000base-x) are set in low power (the PCS
are powered down) when the PHY isn't used.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c