Received: by mail.netbsd.org (Postfix, from userid 605) id 0F13B85ED5; Mon, 30 May 2016 06:46:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8DCB385F0E for ; Mon, 30 May 2016 06:46:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EORb0_bnSERw for ; Mon, 30 May 2016 06:46:51 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2DC6E85ED5 for ; Mon, 30 May 2016 06:46:51 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A7C56FBB5; Mon, 30 May 2016 06:46:50 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 30 May 2016 06:46:50 +0000 From: "Nick Hudson" Subject: CVS commit: [nick-nhusb] src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20160530064650.A7C56FBB5@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nick Hudson" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: skrll Date: Mon May 30 06:46:50 UTC 2016 Modified Files: src/sys/dev/usb [nick-nhusb]: ohci.c ohcivar.h Log Message: Restructure the abort code for TD based transfers (ctrl, bulk, intr). In PR/22646 some TDs can be on the done queue when the abort start and, if this is the case, they need to processed after the WDH interrupt. Instead of waiting for WDH we release TDs that have been touched by the HC and replace them with new ones. Once WDH happens the floating TDs will be returned to the free list. To generate a diff of this commit: cvs rdiff -u -r1.254.2.75 -r1.254.2.76 src/sys/dev/usb/ohci.c cvs rdiff -u -r1.55.6.14 -r1.55.6.15 src/sys/dev/usb/ohcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.