From owner-cvs-all@FreeBSD.ORG Sun Feb 26 02:57:58 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 1221E16A420; Sun, 26 Feb 2006 02:57:58 +0000 (GMT) (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 D4C5A43D45; Sun, 26 Feb 2006 02:57:57 +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 k1Q2vvfD057503; Sun, 26 Feb 2006 02:57:57 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1Q2vvue057502; Sun, 26 Feb 2006 02:57:57 GMT (envelope-from iedowse) Message-Id: <200602260257.k1Q2vvue057502@repoman.freebsd.org> From: Ian Dowse Date: Sun, 26 Feb 2006 02:57:57 +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 ohci.c uhci.c usb_subr.c usbdivar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Feb 2006 02:57:58 -0000 iedowse 2006-02-26 02:57:57 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c ohci.c uhci.c usb_subr.c usbdivar.h Log: Save and restore the data toggle value when a pipe to an endpoint is closed and then reopened. This appears to be necessary now that we no longer clear endpoint stalls every time a pipe is opened. Previously we could assume an initial toggle value of zero because the clear-stall operation resets the device's toggle state. Reported by: Holger Kipp MFC after: 3 days Revision Changes Path 1.41 +3 -1 src/sys/dev/usb/ehci.c 1.159 +5 -1 src/sys/dev/usb/ohci.c 1.164 +2 -1 src/sys/dev/usb/uhci.c 1.82 +1 -0 src/sys/dev/usb/usb_subr.c 1.44 +1 -0 src/sys/dev/usb/usbdivar.h