[PATCH] USB: wakeup flag updates (2/3) uhci-hcd
authorDavid Brownell <david-b@pacbell.net>
Mon, 7 Nov 2005 23:34:41 +0000 (15:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:48:30 +0000 (13:48 -0800)
commitbaefbc39d8e23942cc10db92f5bc42e3476f6bc1
tree58e3dcb5a768fb1e5d45dddecd676d25562e64e2
parent0c8624f91d91df7cdeb9b2dace3269b8788c845f
[PATCH] USB: wakeup flag updates (2/3) uhci-hcd

This makes UHCI stop using the HCD glue wakeup flags to report whether
the controller can wake the system.  The existing code was wrong anyway;
having a PCI PM capability doesn't imply it reports PME# is supported.

I skimmed Intel's ICH7 datasheet and that basically says the wakeup
signaling gets routed only through ACPI registers.  (On the other hand,
many VIA chips provide the PCI PM capabilities...)  I think that doing
this correctly with UHCI is going to require the ACPI folk to associate
the /proc/acpi/wakeup identifiers (and wakeup enable/disable flags)
with the relevant /sys/devices/pci*/...  devices.

From: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-hcd.c