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 Consistency with USBHIST_LOGN



details:   https://anonhg.NetBSD.org/src/rev/3b645852ad83
branches:  nick-nhusb
changeset: 334369:3b645852ad83
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jan 09 21:47:23 2016 +0000

description:
Consistency with USBHIST_LOGN

diffstat:

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

diffs (36 lines):

diff -r 31da19030d49 -r 3b645852ad83 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Sat Jan 09 21:45:20 2016 +0000
+++ b/sys/dev/usb/ehci.c        Sat Jan 09 21:47:23 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.76 2016/01/05 05:53:38 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.77 2016/01/09 21:47:23 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.76 2016/01/05 05:53:38 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.77 2016/01/09 21:47:23 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1286,7 +1286,7 @@
                        sc->sc_eintrs;
                USBHIST_LOG(ehcidebug, "0x%04x", intrs, 0, 0, 0);
 #ifdef EHCI_DEBUG
-               if (ehcidebug > 15)
+               if (ehcidebug >= 15)
                        ehci_dump_regs(sc);
 #endif
                if (intrs) {
@@ -3447,7 +3447,7 @@
 
        USBHIST_LOG(ehcidebug, "exfer %p", exfer, 0, 0, 0);
 #ifdef EHCI_DEBUG
-       if (ehcidebug > 1)
+       if (ehcidebug >= 2)
                usbd_dump_pipe(pipe);
 #endif
 



Home | Main Index | Thread Index | Old Index