net: ethernet: bgmac: driver power manangement
authorJoey Zhong <zhongx@broadcom.com>
Tue, 28 Feb 2017 18:51:01 +0000 (13:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 01:17:47 +0000 (17:17 -0800)
commitf3537b3494c06a98a8636c375b6d7a5060c5ac2d
treeada04f44ec2558d800ba242b2911091c464ea286
parentcb1b0f90acfedd2164e524b327d9e60b097646cc
net: ethernet: bgmac: driver power manangement

Implement suspend/resume callbacks in the bgmac driver. This makes sure
that we de-initialize and re-initialize the hardware correctly before
entering suspend and when resuming.

Signed-off-by: Joey Zhong <zhongx@broadcom.com>
Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac-platform.c
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h