OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Mar 2011 06:35:04 +0000 (23:35 -0700)
commitf4e5bd4f5784c0608078805f29d4a4897ee482f7
tree61ba52e5489324ce41bd3a6bad0728109b004834
parentb3cd965739b8677f6e04913aa535fa156b09e73d
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>
drivers/net/jme.c