From owner-cvs-all@FreeBSD.ORG Sun Mar 13 23:48:17 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 A128B16A4CF; Sun, 13 Mar 2005 23:48:17 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 729DE43D5D; Sun, 13 Mar 2005 23:48:17 +0000 (GMT) (envelope-from iedowse@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 j2DNmHJQ093131; Sun, 13 Mar 2005 23:48:17 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2DNmHn5093130; Sun, 13 Mar 2005 23:48:17 GMT (envelope-from iedowse) Message-Id: <200503132348.j2DNmHn5093130@repoman.freebsd.org> From: Ian Dowse Date: Sun, 13 Mar 2005 23:48:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ehci.c 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: Sun, 13 Mar 2005 23:48:17 -0000 iedowse 2005-03-13 23:48:17 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c Log: The EHCI qTD token has a number of error status bits that are not cleared if the host controller retries the transfer and is successful, but we were interpreting these bits as indicating a fatal error. Ignore these error bits, and instead use the HALTED bit to determine if the transfer failed. Also update the USBD_STALLED detection to ignore these bits. Obtained from: OpenBSD Revision Changes Path 1.32 +9 -9 src/sys/dev/usb/ehci.c