Module Name:    src
Committed By:   skrll
Date:           Thu Feb 18 16:50:28 UTC 2016

Modified Files:
        src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Print cc when debug level is 10.


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.42 -r1.254.2.43 src/sys/dev/usb/ohci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.42 src/sys/dev/usb/ohci.c:1.254.2.43
--- src/sys/dev/usb/ohci.c:1.254.2.42	Sun Jan 10 10:16:00 2016
+++ src/sys/dev/usb/ohci.c	Thu Feb 18 16:50:28 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ohci.c,v 1.254.2.42 2016/01/10 10:16:00 skrll Exp $	*/
+/*	$NetBSD: ohci.c,v 1.254.2.43 2016/02/18 16:50:28 skrll Exp $	*/
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.42 2016/01/10 10:16:00 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.43 2016/02/18 16:50:28 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -1541,8 +1541,7 @@ ohci_softintr(void *v)
 			ohci_soft_td_t *p, *n;
 			opipe = OHCI_PIPE2OPIPE(xfer->ux_pipe);
 
-			DPRINTFN(15, "error cc=%d",
-			    OHCI_TD_GET_CC(O32TOH(std->td.td_flags)), 0, 0, 0);
+			DPRINTFN(10, "error cc=%d", cc, 0, 0, 0);
 
 			/* remove xfer's TDs from the hash */
 			for (p = std; p->xfer == xfer; p = n) {

Reply via email to