Date: Sun, 8 Nov 2009 20:51:15 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb/controller ehci.c ehci.h ehci_pci.c Message-ID: <200911082051.nA8KpW5g058443@repoman.freebsd.org>
index | next in thread | raw e-mail
thompsa 2009-11-08 20:51:15 UTC
FreeBSD src repository
Modified files:
sys/dev/usb/controller ehci.c ehci.h ehci_pci.c
Log:
SVN rev 199058 on 2009-11-08 20:51:15Z by thompsa
Integrate lost interrupts patch from the old USB stack.
Some EHCI chips from VIA / ATI seem to trigger interrupts before writing back
the qTD status, or miss signalling occasionally under heavy load. If the host
machine is too fast, we can miss transaction completion - when we scan the
active list the transaction still seems to be active. This generally exhibits
itself as a umass stall that never recovers.
We work around this behaviour by setting up this callback after any softintr
that completes with transactions still pending, giving us another chance to
check for completion after the writeback has taken place
Submitted by: Alexander Nedotsuko
MFC after: 3 days
Revision Changes Path
1.30 +36 -4 src/sys/dev/usb/controller/ehci.c
1.10 +2 -0 src/sys/dev/usb/controller/ehci.h
1.14 +13 -0 src/sys/dev/usb/controller/ehci_pci.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911082051.nA8KpW5g058443>
