summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/genet/bcmmii.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-08-12 01:50:43 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-12 02:10:11 +0400
commitcc013fb4889892cd6058cfb122c43aeea7d930e8 (patch)
tree02b8332bbbfdc0c0797c2d7296a4fdd2a2bf93eb /drivers/net/ethernet/broadcom/genet/bcmmii.c
parente4a60a93c4a6e7dd4e3e82736b932375598a26fd (diff)
downloadlinux-cc013fb4889892cd6058cfb122c43aeea7d930e8.tar.xz
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/broadcom/genet/bcmmii.c')
0 files changed, 0 insertions, 0 deletions