Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Downgrade noisy message from aprint_verbose to D...



details:   https://anonhg.NetBSD.org/src/rev/02ca91b49b31
branches:  trunk
changeset: 744186:02ca91b49b31
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jan 26 22:19:39 2020 +0000

description:
Downgrade noisy message from aprint_verbose to DPRINTF.

diffstat:

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

diffs (29 lines):

diff -r da380a1d224b -r 02ca91b49b31 sys/dev/usb/uatp.c
--- a/sys/dev/usb/uatp.c        Sun Jan 26 22:19:27 2020 +0000
+++ b/sys/dev/usb/uatp.c        Sun Jan 26 22:19:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uatp.c,v 1.20 2020/01/26 22:19:27 riastradh Exp $      */
+/*     $NetBSD: uatp.c,v 1.21 2020/01/26 22:19:39 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2011-2014 The NetBSD Foundation, Inc.
@@ -146,7 +146,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.20 2020/01/26 22:19:27 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.21 2020/01/26 22:19:39 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1446,8 +1446,8 @@
        sc->sc_input_index += len;
        if (sc->sc_input_index != sc->sc_input_size) {
                /* Wait until packet is complete.  */
-               aprint_verbose_dev(uatp_dev(sc), "partial packet: %u bytes\n",
-                   len);
+               DPRINTF(sc, UATP_DEBUG_INTR, ("partial packet: %u bytes\n",
+                   len));
                return;
        }
 



Home | Main Index | Thread Index | Old Index