PERFORCE change 182151 for review

Hans Petter Selasky hselasky at skunkworks.freebsd.org
Wed Aug 11 18:26:06 UTC 2010


http://p4web.freebsd.org/@@182151?ac=10

Change 182151 by hselasky at hselasky_laptop001 on 2010/08/09 20:17:26

	USB controller (XHCI):
		- we also need to check if the ISOC transfer is queued to
		far in the future alike the OHCI driver.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/controller/xhci.c#24 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/controller/xhci.c#24 (text+ko) ====

@@ -1687,7 +1687,8 @@
 		y = XHCI_MFINDEX_GET(x - xfer->endpoint->isoc_next);
 
 		if ((xfer->endpoint->is_synced == 0) ||
-		    (y < (xfer->nframes << shift))) {
+		    (y < (xfer->nframes << shift)) ||
+		    (XHCI_MFINDEX_GET(-y) >= (128 * 8))) {
 			/*
 			 * If there is data underflow or the pipe
 			 * queue is empty we schedule the transfer a


More information about the p4-projects mailing list