PERFORCE change 162391 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed May 20 20:04:18 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=162391

Change 162391 by hselasky at hselasky_laptop001 on 2009/05/20 20:03:45

	
	USB controller:
	  - fix detection of STALL on zero length packets for EHCI

Affected files ...

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

Differences ...

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

@@ -1156,13 +1156,6 @@
 		}
 		/* Check for last transfer */
 		if (((void *)td) == xfer->td_transfer_last) {
-			if (len == 0) {
-				/*
-			         * Halt is ok if descriptor is last,
-			         * and complete:
-			         */
-				status &= ~EHCI_QTD_HALTED;
-			}
 			td = NULL;
 			break;
 		}


More information about the p4-projects mailing list