summaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2014-03-31 08:12:35 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-31 19:10:31 (GMT)
commit4fdd9a7c32f497aa86c0480ae9e66d840773d5bf (patch)
tree30c254a07f537321e417b90cf326ad955f6e10cd /drivers/net/phy
parentd6c4a975da18a95198dcca0d6c9cd92dc6cbc173 (diff)
downloadlinux-fsl-qoriq-4fdd9a7c32f497aa86c0480ae9e66d840773d5bf.tar.xz
net/phy: add PM for ar8033
add suspend and resume functions for ar8033 Signed-off-by: Zhao Qiang <B45475@freescale.com> Change-Id: I7e3817ae3addff45901d8ef96c3c98d0c9eef56e Reviewed-on: http://git.am.freescale.net:8181/10508 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Xiaobo Xie <X.Xie@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/at803x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index 5124d3e..9fa4a8a 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -243,6 +243,8 @@ static struct phy_driver at803x_driver[] = {
.name = "Atheros 8033 ethernet",
.phy_id_mask = 0xffffffef,
.config_init = at803x_config_init,
+ .suspend = at803x_suspend,
+ .resume = at803x_resume,
.features = PHY_GBIT_FEATURES,
.flags = PHY_HAS_INTERRUPT,
.config_aneg = &genphy_config_aneg,