Date: Fri, 26 Jan 2007 15:28:43 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 113565 for review Message-ID: <200701261528.l0QFShle066871@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113565 Change 113565 by hselasky@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701261528.l0QFShle066871>