From owner-freebsd-usb@FreeBSD.ORG Tue Oct 3 01:20:23 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B861616A417 for ; Tue, 3 Oct 2006 01:20:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4905443D5C for ; Tue, 3 Oct 2006 01:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k931KNWZ081258 for ; Tue, 3 Oct 2006 01:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k931KNSG081257; Tue, 3 Oct 2006 01:20:23 GMT (envelope-from gnats) Date: Tue, 3 Oct 2006 01:20:23 GMT Message-Id: <200610030120.k931KNSG081257@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/103167: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 01:20:23 -0000 The following reply was made to PR usb/103167; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/103167: commit references a PR Date: Tue, 3 Oct 2006 01:13:43 +0000 (UTC) iedowse 2006-10-03 01:13:26 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c ohci.c usb_subr.c Log: When changing the device address and max packet size in usbd_new_device(), close and re-open the default pipe instead of relying on the host controller driver to notice the changes. Remove the unreliable code that attempted to update these fields while the pipe was active. This fixes a case where the hardware could cache and continue to use the old address, resulting in a "getting first desc failed" error. PR: usb/103167 Revision Changes Path 1.50 +0 -11 src/sys/dev/usb/ehci.c 1.165 +0 -10 src/sys/dev/usb/ohci.c 1.87 +18 -0 src/sys/dev/usb/usb_subr.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"