linux/drivers/usb/host
Mike Nuss 89a0fd18a9 USB: OHCI handles more ZFMicro quirks
The ZF Micro OHCI controller exhibits unexpected behavior that seems to be
related to high load.  Under certain conditions, the controller will
complete a TD, remove it from the endpoint's queue, and fail to add it to
the donelist. This causes the endpoint to appear to stop responding. Worse,
if the device is removed while in that state, OHCI will hang while waiting
for the orphaned TD to complete.  The situation is not recoverable without
rebooting.

This fix enhances the scope of the existing OHCI_QUIRK_ZFMICRO flag:

 1. A watchdog routine periodically scans the OHCI structures to check
    for orphaned TDs. In these cases the TD is taken back from the
    controller and completed normally.

 2. If a device is removed while the endpoint is hung but before the
    watchdog catches the situation, any outstanding TDs are taken back
    from the controller in the 'sanitize' phase.

The ohci-hcd driver used to print "INTR_SF lossage" in this situation;
this changes it to the universally accurate "ED unlink timeout".  Other
instances of this message presumably have different root causes.

Both this Compaq quirk and a NEC quirk are now properly compiled out for
non-PCI builds of this driver.

Signed-off-by: Mike Nuss <mike@terascala.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:54:59 -07:00
..
Kconfig usb: typo in usb R8A66597 HCD config 2007-08-22 14:27:49 -07:00
Makefile
ehci-au1xxx.c USB: make EHCI initialize properly on PPC SOCs 2007-08-22 14:28:01 -07:00
ehci-dbg.c
ehci-fsl.c
ehci-fsl.h
ehci-hcd.c
ehci-hub.c
ehci-mem.c
ehci-pci.c
ehci-ppc-soc.c USB: make EHCI initialize properly on PPC SOCs 2007-08-22 14:28:01 -07:00
ehci-ps3.c
ehci-q.c
ehci-sched.c
ehci.h
isp116x-hcd.c
isp116x.h
ohci-at91.c
ohci-au1xxx.c
ohci-dbg.c USB: ohci, fix oddball gcc warning 2007-08-22 14:27:52 -07:00
ohci-ep93xx.c
ohci-hcd.c USB: OHCI handles more ZFMicro quirks 2007-10-12 14:54:59 -07:00
ohci-hub.c
ohci-lh7a404.c
ohci-mem.c USB: OHCI handles more ZFMicro quirks 2007-10-12 14:54:59 -07:00
ohci-omap.c
ohci-pci.c USB: OHCI handles more ZFMicro quirks 2007-10-12 14:54:59 -07:00
ohci-pnx4008.c
ohci-pnx8550.c
ohci-ppc-of.c
ohci-ppc-soc.c
ohci-ps3.c
ohci-pxa27x.c
ohci-q.c USB: OHCI handles more ZFMicro quirks 2007-10-12 14:54:59 -07:00
ohci-s3c2410.c
ohci-sa1111.c
ohci.h USB: OHCI handles more ZFMicro quirks 2007-10-12 14:54:59 -07:00
pci-quirks.c
pci-quirks.h
r8a66597-hcd.c usb: r8a66597-hcd: fix up error path. 2007-08-22 14:27:45 -07:00
r8a66597.h
sl811-hcd.c
sl811.h
sl811_cs.c
u132-hcd.c USB: Clean up duplicate includes in drivers/usb/ 2007-10-12 14:54:58 -07:00
uhci-debug.c
uhci-hcd.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
uhci-hcd.h
uhci-hub.c
uhci-q.c