]> Pileus Git - ~andy/linux/commit
net: phy: at803x: add suspend/resume callbacks
authorDaniel Mack <zonque@gmail.com>
Sat, 21 Sep 2013 14:53:02 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2013 21:28:32 +0000 (17:28 -0400)
commit6229ed1f22592d5ee8360a638cb965fef88b080f
treeb8e3c2f614b9a607a0632895ac18a5d3842fac05
parent0197ffed8690751b027253b97f68df6304aaa6a1
net: phy: at803x: add suspend/resume callbacks

When WOL is enabled, the chip can't be put into power-down (BMCR_PDOWN)
mode, as that will also switch off the MAC, which consequently leads to
a link loss.

Use BMCR_ISOLATE in that case, which will at least save us some
milliamperes in comparison to normal operation mode.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c