]> bbs.cooldavid.org Git - jme.git/commit - jme.c
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>
Tue, 28 Jun 2011 07:16:52 +0000 (15:16 +0800)
commit7370b85a24f00c31da8bfc7a4c59494b7d9252ac
treeb02ecfc252d172b3d454f75158f0f3736112a0de
parent711edd992467f42538a39f359768e847756d7dc4
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>
Merged-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
jme.c