Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc defflag KI2C_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/46f7bdd6723b
branches:  trunk
changeset: 968279:46f7bdd6723b
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jan 09 18:49:06 2020 +0000

description:
defflag KI2C_DEBUG

diffstat:

 sys/arch/macppc/conf/files.macppc |  3 ++-
 sys/arch/macppc/dev/ki2c.c        |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r e160ab0691b4 -r 46f7bdd6723b sys/arch/macppc/conf/files.macppc
--- a/sys/arch/macppc/conf/files.macppc Thu Jan 09 18:47:46 2020 +0000
+++ b/sys/arch/macppc/conf/files.macppc Thu Jan 09 18:49:06 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.macppc,v 1.112 2019/11/01 17:51:56 macallan Exp $
+#      $NetBSD: files.macppc,v 1.113 2020/01/09 18:49:06 macallan Exp $
 #
 # macppc-specific configuration info
 
@@ -287,6 +287,7 @@
 device ki2c: i2cbus, ki2c
 attach ki2c at obio, uni_n
 file arch/macppc/dev/ki2c.c                    ki2c
+defflag opt_ki2c.h     KI2C_DEBUG
 
 # snapper audio
 device snapper: audiobus
diff -r e160ab0691b4 -r 46f7bdd6723b sys/arch/macppc/dev/ki2c.c
--- a/sys/arch/macppc/dev/ki2c.c        Thu Jan 09 18:47:46 2020 +0000
+++ b/sys/arch/macppc/dev/ki2c.c        Thu Jan 09 18:49:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ki2c.c,v 1.28 2020/01/09 18:47:46 macallan Exp $       */
+/*     $NetBSD: ki2c.c,v 1.29 2020/01/09 18:49:06 macallan Exp $       */
 /*     Id: ki2c.c,v 1.7 2002/10/05 09:56:05 tsubai Exp */
 
 /*-
@@ -35,6 +35,7 @@
 #include <dev/ofw/openfirm.h>
 #include <machine/autoconf.h>
 
+#include "opt_ki2c.h"
 #include <macppc/dev/ki2cvar.h>
 
 #ifdef KI2C_DEBUG



Home | Main Index | Thread Index | Old Index