]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB UHCI: Add root-hub suspend/resume support
authorAlan Stern <stern@rowland.harvard.edu>
Sat, 9 Apr 2005 21:29:00 +0000 (17:29 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:43 +0000 (14:43 -0700)
commita8bed8b6be75bc5a46aa599ab360d5f1db291c8f
treeef6375ec4109d670f95ee0f8481543d10d5c4a5e
parentc8f4fe4358c5e0a79b4bd47b814d19f1d1d06f21
[PATCH] USB UHCI: Add root-hub suspend/resume support

This patch implements (finally!) separate suspend and resume routines
for the root hub and the controller in the UHCI driver.  It also
changes the sequence used to reset the controller during initial
probing, so as to preserve the existing state during a Resume-From-Disk.
(This new sequence is what should be used in the PCI Quirks code for
early USB handoffs, incidentally.)  Lastly it adds a notion of the
controller being "inaccessible" while in a PCI low-power state, when
normal I/O operations shouldn't be allowed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h
drivers/usb/host/uhci-hub.c