usb/103167: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Mon Oct 2 18:20:23 PDT 2006
The following reply was made to PR usb/103167; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
More information about the freebsd-usb
mailing list