Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/onewire defflag ONEWIRE_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/c3e598964845
branches:  trunk
changeset: 971131:c3e598964845
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Apr 14 13:36:51 2020 +0000

description:
defflag ONEWIRE_DEBUG

diffstat:

 sys/dev/onewire/files.onewire |  3 ++-
 sys/dev/onewire/onewire.c     |  6 ++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 5cdeecad112a -r c3e598964845 sys/dev/onewire/files.onewire
--- a/sys/dev/onewire/files.onewire     Tue Apr 14 13:35:24 2020 +0000
+++ b/sys/dev/onewire/files.onewire     Tue Apr 14 13:36:51 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: files.onewire,v 1.4 2020/04/14 13:35:24 macallan Exp $
+# $NetBSD: files.onewire,v 1.5 2020/04/14 13:36:51 macallan Exp $
 
 define onewire {}
+defflag opt_onewire.h  ONEWIRE_DEBUG
 
 device onewire: onewire
 attach onewire at onewirebus
diff -r 5cdeecad112a -r c3e598964845 sys/dev/onewire/onewire.c
--- a/sys/dev/onewire/onewire.c Tue Apr 14 13:35:24 2020 +0000
+++ b/sys/dev/onewire/onewire.c Tue Apr 14 13:36:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: onewire.c,v 1.18 2019/11/30 23:04:12 ad Exp $  */
+/*     $NetBSD: onewire.c,v 1.19 2020/04/14 13:36:51 macallan Exp $    */
 /*     $OpenBSD: onewire.c,v 1.1 2006/03/04 16:27:03 grange Exp $      */
 
 /*-
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: onewire.c,v 1.18 2019/11/30 23:04:12 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: onewire.c,v 1.19 2020/04/14 13:36:51 macallan Exp $");
 
 /*
  * 1-Wire bus driver.
@@ -64,6 +64,8 @@
 #include <sys/queue.h>
 #include <sys/module.h>
 
+#include "opt_onewire.h"
+
 #include <dev/onewire/onewirereg.h>
 #include <dev/onewire/onewirevar.h>
 



Home | Main Index | Thread Index | Old Index