]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] UHCI: remove hc_inaccessible flag
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 5 Jun 2006 16:21:30 +0000 (12:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:16 +0000 (15:04 -0700)
commit6ac7e59747b60a79fb770a21b5a62b19417900f3
treec899168e635f967fe46acaf4873c6b29dbf7f406
parentd743911abaf6872baf94dda34cb95deb1f9894df
[PATCH] UHCI: remove hc_inaccessible flag

This patch (as706) removes the private hc_inaccessible flag from
uhci-hcd.  It's not needed because it conveys exactly the same
information as the generic HCD_FLAG_HW_ACCESSIBLE bit.

In its place goes a new flag recording whether the controller is dead.
The new code allows a complete device reset to resurrect a dead
controller (although usbcore doesn't yet implement such a facility).

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