Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb make the default debug level zero.



details:   https://anonhg.NetBSD.org/src/rev/eb4788463b90
branches:  trunk
changeset: 964771:eb4788463b90
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Aug 16 08:29:20 2019 +0000

description:
make the default debug level zero.

diffstat:

 sys/dev/usb/if_axe.c  |  6 +++---
 sys/dev/usb/if_udav.c |  6 +++---
 sys/dev/usb/if_ure.c  |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r ff12f6618690 -r eb4788463b90 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c      Thu Aug 15 22:35:39 2019 +0000
+++ b/sys/dev/usb/if_axe.c      Fri Aug 16 08:29:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_axe.c,v 1.115 2019/08/15 05:52:23 mrg Exp $ */
+/*     $NetBSD: if_axe.c,v 1.116 2019/08/16 08:29:20 mrg Exp $ */
 /*     $OpenBSD: if_axe.c,v 1.137 2016/04/13 11:03:37 mpi Exp $ */
 
 /*
@@ -87,7 +87,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.115 2019/08/15 05:52:23 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.116 2019/08/16 08:29:20 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -159,7 +159,7 @@
 #ifndef AXE_DEBUG
 #define axedebug 0
 #else
-static int axedebug = 20;
+static int axedebug = 0;
 
 SYSCTL_SETUP(sysctl_hw_axe_setup, "sysctl hw.axe setup")
 {
diff -r ff12f6618690 -r eb4788463b90 sys/dev/usb/if_udav.c
--- a/sys/dev/usb/if_udav.c     Thu Aug 15 22:35:39 2019 +0000
+++ b/sys/dev/usb/if_udav.c     Fri Aug 16 08:29:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_udav.c,v 1.68 2019/08/15 05:52:23 mrg Exp $ */
+/*     $NetBSD: if_udav.c,v 1.69 2019/08/16 08:29:20 mrg Exp $ */
 /*     $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $   */
 
 /*
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.68 2019/08/15 05:52:23 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.69 2019/08/16 08:29:20 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -93,7 +93,7 @@
 #ifdef UDAV_DEBUG
 #define DPRINTF(x)     if (udavdebug) printf x
 #define DPRINTFN(n, x) if (udavdebug >= (n)) printf x
-int udavdebug = 10;
+int udavdebug = 0;
 #else
 #define DPRINTF(x)
 #define DPRINTFN(n, x)
diff -r ff12f6618690 -r eb4788463b90 sys/dev/usb/if_ure.c
--- a/sys/dev/usb/if_ure.c      Thu Aug 15 22:35:39 2019 +0000
+++ b/sys/dev/usb/if_ure.c      Fri Aug 16 08:29:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ure.c,v 1.27 2019/08/15 05:52:23 mrg Exp $  */
+/*     $NetBSD: if_ure.c,v 1.28 2019/08/16 08:29:20 mrg Exp $  */
 /*     $OpenBSD: if_ure.c,v 1.10 2018/11/02 21:32:30 jcs Exp $ */
 
 /*-
@@ -30,7 +30,7 @@
 /* RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.27 2019/08/15 05:52:23 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.28 2019/08/16 08:29:20 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -60,7 +60,7 @@
 #ifdef URE_DEBUG
 #define DPRINTF(x)     do { if (uredebug) printf x; } while (0)
 #define DPRINTFN(n, x) do { if (uredebug >= (n)) printf x; } while (0)
-int    uredebug = 1;
+int    uredebug = 0;
 #else
 #define DPRINTF(x)
 #define DPRINTFN(n, x)



Home | Main Index | Thread Index | Old Index