commit | 6229ed1f22592d5ee8360a638cb965fef88b080f | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Sat Sep 21 16:53:02 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 27 17:28:32 2013 -0400 |
tree | b8e3c2f614b9a607a0632895ac18a5d3842fac05 | |
parent | 0197ffed8690751b027253b97f68df6304aaa6a1 [diff] |
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>