commit | 58ff463396ad00828e922d50998787e97fd32512 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Wed Feb 17 23:36:58 2010 +0100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Mon Feb 22 16:20:24 2010 -0800 |
tree | 4964b07518a02736a23839d89bb7ac4a065dede8 | |
parent | 6d3be84aab461815978d970aa45f5bc9e52dd772 [diff] |
PCI PM: Add function for checking PME status of devices 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>