Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci don't spam the EDID block to the console unless ...



details:   https://anonhg.NetBSD.org/src/rev/ed5ec23601f6
branches:  trunk
changeset: 779906:ed5ec23601f6
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Jun 27 07:12:19 2012 +0000

description:
don't spam the EDID block to the console unless options RADEONFB_DEBUG

diffstat:

 sys/dev/pci/radeonfb.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 02859ff4ff1f -r ed5ec23601f6 sys/dev/pci/radeonfb.c
--- a/sys/dev/pci/radeonfb.c    Wed Jun 27 00:37:07 2012 +0000
+++ b/sys/dev/pci/radeonfb.c    Wed Jun 27 07:12:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeonfb.c,v 1.62 2012/04/22 03:57:00 uebayasi Exp $ */
+/*     $NetBSD: radeonfb.c,v 1.63 2012/06/27 07:12:19 macallan Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.62 2012/04/22 03:57:00 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.63 2012/06/27 07:12:19 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1694,7 +1694,9 @@
                                    == 0) && (edid_parse(edid, eip) == 0)) {
 
                                        sc->sc_ports[i].rp_edid_valid = 1;
+#ifdef RADEONFB_DEBUG
                                        edid_print(eip);
+#endif
                                }
                        }
                }



Home | Main Index | Thread Index | Old Index