]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: add suspend and resume support
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 2 Jul 2014 04:08:38 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 03:56:47 +0000 (20:56 -0700)
commitb018e452d01b14a20d41c34c2c80e68aacf172ca
tree2477faac955935f81297936ba402ad6e56d7fe82
parent698a3347d8daba3475dec3310a2a96034d87580e
net: systemport: add suspend and resume support

Implement the hardware recommended suspend/resume procedure for
SYSTEMPORT. We leverage the previous factoring work such that we can
logically break all suspend/resume operations into disctint RX and TX
code paths.

When the system enters S3, we will loose all register contents, so
make sure that we correctly re-program all the hardware and software
views of the RX & TX rings as well.

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