Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/marvell Raise threshold of debug level to 3 for DPRI...



details:   https://anonhg.NetBSD.org/src/rev/397c1e8751fe
branches:  trunk
changeset: 366266:397c1e8751fe
user:      rin <rin%NetBSD.org@localhost>
date:      Sat May 21 10:22:27 2022 +0000

description:
Raise threshold of debug level to 3 for DPRINTF() in non-error path of
mvgbe_encap(). Without this change, debug level 2 is almost unusable...

diffstat:

 sys/dev/marvell/if_mvgbe.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8c39080a28ff -r 397c1e8751fe sys/dev/marvell/if_mvgbe.c
--- a/sys/dev/marvell/if_mvgbe.c        Sat May 21 10:01:49 2022 +0000
+++ b/sys/dev/marvell/if_mvgbe.c        Sat May 21 10:22:27 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mvgbe.c,v 1.62 2021/08/30 00:08:28 rin Exp $        */
+/*     $NetBSD: if_mvgbe.c,v 1.63 2022/05/21 10:22:27 rin Exp $        */
 /*
  * Copyright (c) 2007, 2008, 2013 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mvgbe.c,v 1.62 2021/08/30 00:08:28 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mvgbe.c,v 1.63 2022/05/21 10:22:27 rin Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -1871,7 +1871,7 @@
        }
 
 
-       DPRINTFN(2, ("mvgbe_encap: dm_nsegs=%d\n", txmap->dm_nsegs));
+       DPRINTFN(3, ("mvgbe_encap: dm_nsegs=%d\n", txmap->dm_nsegs));
 
        for (i = 0; i < txmap->dm_nsegs; i++) {
                f = &sc->sc_rdata->mvgbe_tx_ring[current];



Home | Main Index | Thread Index | Old Index