From owner-cvs-all@FreeBSD.ORG Sat Jan 1 10:44:25 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEF6C16A4CE; Sat, 1 Jan 2005 10:44:25 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5AB643D31; Sat, 1 Jan 2005 10:44:25 +0000 (GMT) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j01AiPAE087105; Sat, 1 Jan 2005 10:44:25 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j01AiP4E087104; Sat, 1 Jan 2005 10:44:25 GMT (envelope-from julian) Message-Id: <200501011044.j01AiP4E087104@repoman.freebsd.org> From: Julian Elischer Date: Sat, 1 Jan 2005 10:44:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/usb ehci.c ehcivar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 10:44:26 -0000 julian 2005-01-01 10:44:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/usb ehci.c ehcivar.h Log: MFC: Rewrite ehci_abort_xfer() to use the method hinted at in the EHCI spec. to remove a transaction from the async schedule. The previous method didn't work well and led to the hardware writing to free'd buffers etc, as it didn't always know that the transaction had been aborted. Written after consultation with David Brownell who wrote the Linux EHCI driver. As part of this give the sqh structure a "previous" pointer. Revision Changes Path 1.14.2.5 +106 -44 src/sys/dev/usb/ehci.c 1.4.2.2 +1 -0 src/sys/dev/usb/ehcivar.h