Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Dump more of the command.



details:   https://anonhg.NetBSD.org/src/rev/1d6aed8b51e3
branches:  trunk
changeset: 519950:1d6aed8b51e3
user:      augustss <augustss%NetBSD.org@localhost>
date:      Mon Dec 31 12:15:46 2001 +0000

description:
Dump more of the command.

diffstat:

 sys/dev/usb/umass.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 48bcca65322f -r 1d6aed8b51e3 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Mon Dec 31 12:15:21 2001 +0000
+++ b/sys/dev/usb/umass.c       Mon Dec 31 12:15:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.82 2001/12/29 13:46:23 augustss Exp $      */
+/*     $NetBSD: umass.c,v 1.83 2001/12/31 12:15:46 augustss Exp $      */
 /*-
  * Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
  *                   Nick Hibma <n_hibma%freebsd.org@localhost>
@@ -94,7 +94,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.82 2001/12/29 13:46:23 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.83 2001/12/31 12:15:46 augustss Exp $");
 
 #include "atapibus.h"
 #include "scsibus.h"
@@ -1713,11 +1713,13 @@
        int tag = UGETDW(cbw->dCBWTag);
        int flags = cbw->bCBWFlags;
 
-       DPRINTF(UDMASS_BBB, ("%s: CBW %d: cmdlen = %d "
-               "(0x%02x%02x%02x%02x%02x%02x%s), "
+       DPRINTF(UDMASS_BBB, ("%s: CBW %d: cmdlen=%d "
+               "(0x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%s), "
                "data = %d bytes, dir = %s\n",
                USBDEVNAME(sc->sc_dev), tag, clen,
-               c[0], c[1], c[2], c[3], c[4], c[5], (clen > 6? "...":""),
+               c[0], c[1], c[2], c[3], c[4], c[5],
+               c[6], c[7], c[8], c[9],
+               (clen > 10? "...":""),
                dlen, (flags == CBWFLAGS_IN? "in":
                       (flags == CBWFLAGS_OUT? "out":"<invalid>"))));
 }



Home | Main Index | Thread Index | Old Index