PCI PM: Add function for checking PME status of devices
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 17 Feb 2010 22:36:58 +0000 (23:36 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:20:24 +0000 (16:20 -0800)
Add function pci_check_pme_status() that will check the PME status
bit of given device and clear it along with the PME enable bit.  It
will be necessary for PCI run-time power management.

Based on a patch from Shaohua Li <shaohua.li@intel.com>

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found