Date: Wed, 28 Mar 2007 14:18:45 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 116733 for review Message-ID: <200703281418.l2SEIjVh089553@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116733 Change 116733 by hselasky@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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703281418.l2SEIjVh089553>