aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/natsemi
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-08-11 14:50:43 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-11 15:10:11 -0700
commitcc013fb4889892cd6058cfb122c43aeea7d930e8 (patch)
tree02b8332bbbfdc0c0797c2d7296a4fdd2a2bf93eb /drivers/net/ethernet/natsemi
parentnet: bcmgenet: request and enable main clock earlier (diff)
downloadlinux-dev-cc013fb4889892cd6058cfb122c43aeea7d930e8.tar.xz
linux-dev-cc013fb4889892cd6058cfb122c43aeea7d930e8.zip
net: bcmgenet: correctly suspend and resume PHY device
Make sure that we properly suspend and resume the PHY device when we enter low power modes. We had two calls to bcmgenet_mii_reset() which will issue a software-reset to the PHY without using the PHY library, get rid of them since they are completely bogus and mess up with the PHY library state. Make sure that we reset the PHY library cached values (link, pause and duplex) to allow the link adjustment callback to be invoked when needed. Fixes: b6e978e50444 ("net: bcmgenet: add suspend/resume callbacks") Fixes: 1c1008c793fa4 ("net: bcmgenet: add main driver file") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/natsemi')
0 files changed, 0 insertions, 0 deletions