USB: Dealias -110 code (more complete)
authorPete Zaitcev <zaitcev@redhat.com>
Tue, 19 Sep 2006 05:49:02 +0000 (22:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:59:00 +0000 (11:59 -0700)
commit38e2bfc94e95dd6005fdaf40dfec0157396741da
tree1cc927239e3369ec7ce4920b1347dd8bc504bb2d
parentec17cf1cfe0b557210b27313bd584e9b5187d4ca
USB: Dealias -110 code (more complete)

The purpose of this patch is to split off the case when a device does
not reply on the lower level (which is reported by HC hardware), and
a case when the device accepted the request, but does not reply at
upper level. This redefinition allows to diagnose issues easier,
without asking the user if the -110 happened "immediately".

The usbmon splits such cases already thanks to its timestamp, but
it's not always available.

I adjusted all drivers which I found affected (by searching for "urb").
Out of tree drivers may suffer a little bit, but I do not expect much
breakage. At worst they may print a few messages.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
24 files changed:
Documentation/usb/error-codes.txt
drivers/isdn/gigaset/bas-gigaset.c
drivers/isdn/hisax/hfc_usb.h
drivers/media/dvb/dvb-usb/dvb-usb-urb.c
drivers/media/dvb/ttusb-dec/ttusb_dec.c
drivers/media/video/ov511.c
drivers/media/video/pwc/pwc-if.c
drivers/media/video/w9968cf.c
drivers/net/irda/irda-usb.c
drivers/net/wireless/zd1201.c
drivers/usb/host/isp116x.h
drivers/usb/host/ohci.h
drivers/usb/host/sl811-hcd.c
drivers/usb/input/hid-core.c
drivers/usb/input/itmtouch.c
drivers/usb/input/mtouchusb.c
drivers/usb/input/touchkitusb.c
drivers/usb/input/usbtouchscreen.c
drivers/usb/misc/auerswald.c
drivers/usb/net/pegasus.c
drivers/usb/net/rtl8150.c
drivers/usb/net/usbnet.c
drivers/usb/storage/transport.c
sound/usb/usbmidi.c