android_kernel_oneplus_msm8998/drivers/net/ethernet/broadcom/genet
Florian Fainelli cc013fb488 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: b6e978e504 ("net: bcmgenet: add suspend/resume callbacks")
Fixes: 1c1008c793 ("net: bcmgenet: add main driver file")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-11 15:10:11 -07:00
..
bcmgenet.c net: bcmgenet: correctly suspend and resume PHY device 2014-08-11 15:10:11 -07:00
bcmgenet.h net: bcmgenet: re-align multiple lines correctly 2014-07-23 15:14:25 -07:00
bcmgenet_wol.c net: bcmgenet: add Wake-on-LAN support code 2014-07-21 16:04:31 -07:00
bcmmii.c net: bcmgenet: fix reference counting for phy node 2014-08-07 16:02:58 -07:00
Makefile net: bcmgenet: add Wake-on-LAN support code 2014-07-21 16:04:31 -07:00