Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb turn off ohcidebug by default. none of the othe...



details:   https://anonhg.NetBSD.org/src/rev/3f436609adfc
branches:  trunk
changeset: 984152:3f436609adfc
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 24 23:01:03 2021 +0000

description:
turn off ohcidebug by default.  none of the other HCs do this.

next up:  options to set these by default

diffstat:

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

diffs (27 lines):

diff -r 22ff61340780 -r 3f436609adfc sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Thu Jun 24 23:00:14 2021 +0000
+++ b/sys/dev/usb/ohci.c        Thu Jun 24 23:01:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.316 2021/06/15 23:39:43 riastradh Exp $     */
+/*     $NetBSD: ohci.c,v 1.317 2021/06/24 23:01:03 mrg Exp $   */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012, 2016, 2020 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.316 2021/06/15 23:39:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.317 2021/06/24 23:01:03 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -77,7 +77,7 @@
 #ifndef OHCI_DEBUG
 #define ohcidebug 0
 #else
-static int ohcidebug = 10;
+static int ohcidebug = 0;
 
 SYSCTL_SETUP(sysctl_hw_ohci_setup, "sysctl hw.ohci setup")
 {



Home | Main Index | Thread Index | Old Index