]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPI: Make /proc/acpi/wakeup interface handle PCI devices (again)
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 3 Oct 2008 22:23:49 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 4 Oct 2008 01:22:19 +0000 (18:22 -0700)
commit76acae04c892287949e1191e99600f3e952e43f7
tree564c0acb663072e70723adda04219164ee9821dc
parent95bf14bff58fd200f0c2147c84582cc2488367d0
ACPI: Make /proc/acpi/wakeup interface handle PCI devices (again)

Make the ACPI /proc/acpi/wakeup interface set the appropriate wake-up bits
of physical devices corresponding to the ACPI devices and make those bits
be set initially for devices that are enabled to wake up by default.  This
is needed to restore the 2.6.26 and earlier behavior for the PCI devices
that were previously handled correctly with the help of the
/proc/acpi/wakeup interface.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/glue.c
drivers/acpi/sleep/proc.c