PCI: Add support for polling PME state on suspended legacy PCI devices
authorMatthew Garrett <mjg@redhat.com>
Mon, 4 Oct 2010 18:22:29 +0000 (14:22 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 18 Oct 2010 03:03:06 +0000 (20:03 -0700)
commitdf17e62e5bff60aeefd0e81165c62f9e46f33217
tree12f612592ae274330455c2206ce2d17c10082ab2
parentbf4d29086972ceaeaf72544d8f64933c2cfdc992
PCI: Add support for polling PME state on suspended legacy PCI devices

Not all hardware vendors hook up the PME line for legacy PCI devices,
meaning that wakeup events get lost. The only way around this is to poll
the devices to see if their state has changed, so add support for doing
that on legacy PCI devices that aren't part of the core chipset.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c