summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-04-05 08:40:04 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-13 16:21:03 -0700
commit861ab44059350e5cab350238606cf8814abab93b (patch)
treef4b3ac294a0ddc7b7ac496bcbcb0c9c78dcb8347 /net/8021q
parent0ee904c35cc3fdd26a9c76077d9692d458309186 (diff)
downloadop-kernel-dev-861ab44059350e5cab350238606cf8814abab93b.zip
op-kernel-dev-861ab44059350e5cab350238606cf8814abab93b.tar.gz
NET/r8169: Rework suspend and resume
The recent changes of the PCI PM core allow us to simplify the suspend and resume handling in a number of device drivers, since they don't need to carry out the general PCI PM operations, such as changing the power state of the device, during suspend and resume any more. Simplify the suspend and resume callbacks of r8169 using the observation that the PCI PM core can take care of some operations carried out by the driver. Additionally, make the shutdown callback of r8169 only put the device into a low power state if the system is going to be powered off (kexec is known to have problems with network adapters that are put into low power states on shutdown). This patch has been tested on MSI Wind U100. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Tested-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud