PERFORCE change 113565 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jan 26 15:28:43 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113565
Change 113565 by hselasky at hselasky_mini_itx on 2007/01/26 15:28:16
Fix a small bug introduced by change 113559:
High speed isochronous transfers take 8 times
more frames per second than full speed
isochronous transfers. Add a rounded up divide by 8.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/ehci.c#24 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/ehci.c#24 (text+ko) ====
@@ -2705,7 +2705,7 @@
DPRINTFN(2,("start next=%d\n", xfer->pipe->isoc_next));
}
- xfer->isoc_complete_time = (xfer->pipe->isoc_next + xfer->nframes) % USBD_ISOC_TIME_MAX;
+ xfer->isoc_complete_time = (xfer->pipe->isoc_next + ((xfer->nframes+7)/8)) % USBD_ISOC_TIME_MAX;
nframes = xfer->nframes;
More information about the p4-projects
mailing list