Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev shut up some debug output accidentially...



details:   https://anonhg.NetBSD.org/src/rev/2d323f4d756e
branches:  trunk
changeset: 768526:2d323f4d756e
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Aug 18 12:53:25 2011 +0000

description:
shut up some debug output accidentially left in

diffstat:

 sys/arch/sparc64/dev/ffb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 79e1413dc36e -r 2d323f4d756e sys/arch/sparc64/dev/ffb.c
--- a/sys/arch/sparc64/dev/ffb.c        Thu Aug 18 11:29:27 2011 +0000
+++ b/sys/arch/sparc64/dev/ffb.c        Thu Aug 18 12:53:25 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffb.c,v 1.45 2011/08/16 12:59:01 macallan Exp $        */
+/*     $NetBSD: ffb.c,v 1.46 2011/08/18 12:53:25 macallan Exp $        */
 /*     $OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $      */
 
 /*
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.45 2011/08/16 12:59:01 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.46 2011/08/18 12:53:25 macallan Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -268,7 +268,7 @@
        } else
                try_edid = 1;
 
-#ifdef FFB_DEBUG
+#if FFB_DEBUG > 0
        DAC_WRITE(sc, FFB_DAC_TYPE, FFB_DAC_TGC);
        printf("tgc: %08x\n", DAC_READ(sc, FFB_DAC_VALUE));
        DAC_WRITE(sc, FFB_DAC_TYPE, FFB_DAC_DAC_CTRL);



Home | Main Index | Thread Index | Old Index