]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: add suspend/resume callbacks
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 21 Jul 2014 22:29:22 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 23:04:30 +0000 (16:04 -0700)
commitd2dac18da144924dcb502296a357381cfe165679
treedbf1782c10978273644fdcdae276ea90789e511c
parentea1477365281a6d8d7eed208dc343b886cf93403
net: bcmgenet: add suspend/resume callbacks

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

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c