PERFORCE change 116733 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed Mar 28 14:18:45 UTC 2007


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

Change 116733 by hselasky at hselasky_mini_itx on 2007/03/28 14:17:51

	Fix debugging message: csw->dCSWTag is 32-bit and not 16-bit.

Affected files ...

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

Differences ...

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

@@ -3168,11 +3168,11 @@
 umass_bbb_dump_csw(struct umass_softc *sc, umass_bbb_csw_t *csw)
 {
 	u_int32_t sig = UGETDW(csw->dCSWSignature);
-	u_int16_t tag = UGETW(csw->dCSWTag);
+	u_int32_t tag = UGETDW(csw->dCSWTag);
 	u_int32_t res = UGETDW(csw->dCSWDataResidue);
 	u_int8_t status = csw->bCSWStatus;
 
-	DPRINTF(sc, UDMASS_BBB, "CSW %d: sig = 0x%08x (%s), tag = %d, "
+	DPRINTF(sc, UDMASS_BBB, "CSW %d: sig = 0x%08x (%s), tag = 0x%08x, "
 		"res = %d, status = 0x%02x (%s)\n", 
 		tag, sig, (sig == CSWSIGNATURE?  "valid":"invalid"),
 		tag, res,


More information about the p4-projects mailing list