]> git.baikalelectronics.ru Git - kernel.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)
commit84b01d1e7d38a346af63bc1f5e09072186d7efc3
treeef6375ec4109d670f95ee0f8481543d10d5c4a5e
parent16fa36b74550b5b32dba536f628b1cb63fc272c5
[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