diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-10-29 22:22:14 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-31 05:52:17 +0100 |
commit | 5177b3240a6608fc0c9c05cc32f4855c6540f8d5 (patch) | |
tree | a3a8063d2b722e5df04853f82483ee23759e85c7 /Documentation | |
parent | udp: Should use spin_lock_bh()/spin_unlock_bh() in udp_lib_unhash() (diff) | |
download | linux-5177b3240a6608fc0c9c05cc32f4855c6540f8d5.tar.xz linux-5177b3240a6608fc0c9c05cc32f4855c6540f8d5.zip |
skge: adapt skge to use reworked PCI PM
Adapt the skge driver to the reworked PCI PM
* Use device_set_wakeup_enable() and friends as needed
* Remove an open-coded reference to the standard PCI PM registers
* Use pci_prepare_to_sleep() and pci_back_from_sleep() in the
->suspend() and ->resume() callbacks
* Use the observation that it is sufficient to call pci_enable_wake()
once, unless it fails
Tested on Asus L5D (Yukon-Lite rev 7).
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions