Date: Tue, 3 Oct 2006 01:20:23 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-usb@FreeBSD.org Subject: Re: usb/103167: commit references a PR Message-ID: <200610030120.k931KNSG081257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610030120.k931KNSG081257>