From owner-cvs-src-old@FreeBSD.ORG Wed Nov 11 01:33:15 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 D33EE1065692 for ; Wed, 11 Nov 2009 01:33:15 +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 C11D78FC26 for ; Wed, 11 Nov 2009 01:33:15 +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 nAB1XFUF076106 for ; Wed, 11 Nov 2009 01:33:15 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAB1XF4J076105 for cvs-src-old@freebsd.org; Wed, 11 Nov 2009 01:33:15 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200911110133.nAB1XF4J076105@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Wed, 11 Nov 2009 01:33:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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: Wed, 11 Nov 2009 01:33:15 -0000 thompsa 2009-11-11 01:33:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/usb/controller ehci.c ehci.h ehci_pci.c Log: SVN rev 199166 on 2009-11-11 01:33:06Z by thompsa MFC r199058 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 Revision Changes Path 1.26.2.5 +36 -4 src/sys/dev/usb/controller/ehci.c 1.8.2.3 +2 -0 src/sys/dev/usb/controller/ehci.h 1.8.2.4 +13 -0 src/sys/dev/usb/controller/ehci_pci.c