From owner-cvs-src@FreeBSD.ORG Sat Mar 18 13:55:17 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4C2616A422; Sat, 18 Mar 2006 13:55:16 +0000 (UTC) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7113B43D45; Sat, 18 Mar 2006 13:55:16 +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 k2IDtGaJ088074; Sat, 18 Mar 2006 13:55:16 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2IDtGlk088073; Sat, 18 Mar 2006 13:55:16 GMT (envelope-from iedowse) Message-Id: <200603181355.k2IDtGlk088073@repoman.freebsd.org> From: Ian Dowse Date: Sat, 18 Mar 2006 13:55:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ehci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 13:55:17 -0000 iedowse 2006-03-18 13:55:16 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c Log: Let the EHCI hardware track the toggle state for bulk and interrupt transfers. This fixes some cases where the software toggle tracking was not doing the right thing. For example, a short transfer that transferred 0 bytes of the requested qTD transfer size does cause a toggle change, but the existing code was assuming it didn't. Reported and tested by: pav MFC after: 2 weeks Revision Changes Path 1.42 +27 -50 src/sys/dev/usb/ehci.c