]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Track the usb device state as its powered on, addressed and configured. This helps
authorAndrew Thompson <thompsa@FreeBSD.org>
Sat, 25 Apr 2009 21:10:06 +0000 (21:10 +0000)
committerAndrew Thompson <thompsa@FreeBSD.org>
Sat, 25 Apr 2009 21:10:06 +0000 (21:10 +0000)
commitbd21677868b80d655792c711cf1f21dcf8c24052
tree6204fa982868a9530323799ccff1606ec998c2ba
parentd73b356abc7726add53ec08ecf53d30cf51de2e1
Track the usb device state as its powered on, addressed and configured. This helps
to avoid touching the device when it is not going to respond and would otherwise
timeout.

Implement the suspend tracking as a udev state too.
sys/dev/usb/controller/ehci.c
sys/dev/usb/controller/ohci.c
sys/dev/usb/controller/uhci.c
sys/dev/usb/usb_core.h
sys/dev/usb/usb_device.c
sys/dev/usb/usb_device.h
sys/dev/usb/usb_generic.c
sys/dev/usb/usb_hub.c
sys/dev/usb/usb_request.c
sys/dev/usb/usb_revision.h
sys/dev/usb/usb_transfer.c