Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2008 20:55:49 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 141477 for review
Message-ID:  <200805112055.m4BKtnJ3019876@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=141477

Change 141477 by hselasky@hselasky_laptop001 on 2008/05/11 20:55:05

	
	EHCI: Small correction. Only affects High Speed Isochronous transfers.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ehci.c#78 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/ehci.c#78 (text+ko) ====

@@ -2071,8 +2071,14 @@
 		len = EHCI_ITD_GET_LEN(status);
 
 		if (*plen >= len) {
-			len = *plen - len;
+			/*
+			 * The length is valid. NOTE: The complete
+			 * length is written back into the status
+			 * field, and not the remainder like with
+			 * other transfer descriptor types.
+			 */
 		} else {
+			/* Invalid length - truncate */
 			len = 0;
 		}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805112055.m4BKtnJ3019876>