]> bbs.cooldavid.org Git - jme.git/commit
Net / jme: Do not use legacy PCI power management
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 26 Mar 2011 01:34:06 +0000 (01:34 +0000)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Sat, 25 Jun 2011 05:53:42 +0000 (13:53 +0800)
commit8ad2ddac2ea010940c882d3fa17314242792a6e6
tree3aa68c04776e7b325dd845f4fcc337ecabd7fc1b
parent6db67aa551e6a99f5c564b4d49a66f7915c1e0c6
Net / jme: Do not use legacy PCI power management

The jme driver uses the legacy PCI power management, so it has to do
some PCI-specific things in its ->suspend() and ->resume() callbacks,
which isn't necessary and should better be done by the PCI
sybsystem-level power management code.  It also doesn't use device
wakeup flags correctly.

Convert jme to the new PCI power management framework and make it
let the PCI subsystem take care of all the PCI-specific aspects of
device handling during system power transitions.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
jme.c