From owner-cvs-src-old@FreeBSD.ORG Sun Nov 8 20:51:32 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE605106568F for ; Sun, 8 Nov 2009 20:51:32 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3638FC16 for ; Sun, 8 Nov 2009 20:51:32 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nA8KpWnn058444 for ; Sun, 8 Nov 2009 20:51:32 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nA8KpW5g058443 for cvs-src-old@freebsd.org; Sun, 8 Nov 2009 20:51:32 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200911082051.nA8KpW5g058443@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Sun, 8 Nov 2009 20:51:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb/controller ehci.c ehci.h ehci_pci.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2009 20:51:32 -0000 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