Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Improve debug output



details:   https://anonhg.NetBSD.org/src/rev/85476d7c31c1
branches:  nick-nhusb
changeset: 334310:85476d7c31c1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 08 21:02:31 2015 +0000

description:
Improve debug output

diffstat:

 sys/dev/usb/uhci.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 6bc83f7747b0 -r 85476d7c31c1 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sun Nov 08 15:19:29 2015 +0000
+++ b/sys/dev/usb/uhci.c        Sun Nov 08 21:02:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.264.4.52 2015/11/08 15:19:29 skrll Exp $    */
+/*     $NetBSD: uhci.c,v 1.264.4.53 2015/11/08 21:02:31 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.52 2015/11/08 15:19:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.53 2015/11/08 21:02:31 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -1533,7 +1533,9 @@
 #ifdef UHCI_DEBUG
                        if (uhcidebug >= 5) {
                                DPRINTF("isoc TD %d", i, 0, 0, 0);
+                               DPRINTF("--- dump start ---", 0, 0, 0, 0);
                                uhci_dump_td(std);
+                               DPRINTF("--- dump end ---", 0, 0, 0, 0);
                        }
 #endif
                        if (++n >= UHCI_VFRAMELIST_COUNT)



Home | Main Index | Thread Index | Old Index