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 Better debug



details:   https://anonhg.NetBSD.org/src/rev/cd7c87967e6e
branches:  nick-nhusb
changeset: 334452:cd7c87967e6e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Mar 25 08:32:57 2016 +0000

description:
Better debug

diffstat:

 sys/dev/usb/usbdi.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 4d9fe5bca48d -r cd7c87967e6e sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c       Fri Mar 25 08:32:43 2016 +0000
+++ b/sys/dev/usb/usbdi.c       Fri Mar 25 08:32:57 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdi.c,v 1.162.2.44 2016/03/17 09:04:53 skrll Exp $   */
+/*     $NetBSD: usbdi.c,v 1.162.2.45 2016/03/25 08:32:57 skrll Exp $   */
 
 /*
  * Copyright (c) 1998, 2012, 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.44 2016/03/17 09:04:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.45 2016/03/25 08:32:57 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1002,8 +1002,8 @@
 
        USBHIST_FUNC(); USBHIST_CALLED(usbdebug);
 
-       USBHIST_LOG(usbdebug, "pipe = %p running = %d timeout = %d",
-           pipe, pipe->up_running, xfer->ux_timeout, 0);
+       USBHIST_LOG(usbdebug, "xfer = %p pipe = %p running = %d timeout = %d",
+           xfer, pipe, pipe->up_running, xfer->ux_timeout);
 
        KASSERT(mutex_owned(pipe->up_dev->ud_bus->ub_lock));
        KASSERT(xfer->ux_state == XFER_BUSY);



Home | Main Index | Thread Index | Old Index