PERFORCE change 116815 for review

Hans Petter Selasky hselasky at FreeBSD.org
Thu Mar 29 07:15:09 UTC 2007


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

Change 116815 by hselasky at hselasky_mini_itx on 2007/03/29 07:14:37

	Make UMASS more in line with the BBB specification.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/umass.c#11 edit

Differences ...

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

@@ -1718,6 +1718,13 @@
 
  tr_transferred:
 
+	/* Do a full reset if there is something
+	 * wrong with the CSW:
+	 */
+	sc->sc_status_try = 1; 
+
+	/* Zero missing parts of the CSW: */
+
 	if (xfer->actlen < sizeof(sc->csw)) {
 	    bzero(&(sc->csw), sizeof(sc->csw));
 	}


More information about the p4-projects mailing list