Source-Changes-HG archive

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

[src/trunk]: src/sys/dev console spam



details:   https://anonhg.NetBSD.org/src/rev/a51ee7633518
branches:  trunk
changeset: 754264:a51ee7633518
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Apr 25 11:23:34 2010 +0000

description:
console spam

diffstat:

 sys/dev/gpio/gpio.c  |  6 +++---
 sys/dev/pci/if_bge.c |  9 ++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (61 lines):

diff -r b595be23ade2 -r a51ee7633518 sys/dev/gpio/gpio.c
--- a/sys/dev/gpio/gpio.c       Sun Apr 25 10:35:07 2010 +0000
+++ b/sys/dev/gpio/gpio.c       Sun Apr 25 11:23:34 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.32 2010/02/24 22:37:57 dyoung Exp $ */
+/* $NetBSD: gpio.c,v 1.33 2010/04/25 11:23:34 ad Exp $ */
 /*     $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.32 2010/02/24 22:37:57 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.33 2010/04/25 11:23:34 ad Exp $");
 
 /*
  * General Purpose Input/Output framework.
@@ -218,7 +218,7 @@
        struct gpiobus_attach_args *gba = aux;
 #endif
        if (pnp != NULL)
-               printf("gpiobus at %s", pnp);
+               aprint_normal("gpiobus at %s", pnp);
 
        return UNCONF;
 }
diff -r b595be23ade2 -r a51ee7633518 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Sun Apr 25 10:35:07 2010 +0000
+++ b/sys/dev/pci/if_bge.c      Sun Apr 25 11:23:34 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.182 2010/04/05 07:20:25 joerg Exp $       */
+/*     $NetBSD: if_bge.c,v 1.183 2010/04/25 11:24:46 ad Exp $  */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.182 2010/04/05 07:20:25 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.183 2010/04/25 11:24:46 ad Exp $");
 
 #include "vlan.h"
 #include "rnd.h"
@@ -757,13 +757,12 @@
            + PCI_PCIE_DCSR);
        if ((val & PCI_PCIE_DCSR_MAX_READ_REQ) !=
            BGE_PCIE_DEVCTL_MAX_READRQ_4096) {
-                       printf("adjust device control 0x%04x ",
-                           val);
+               aprint_verbose("adjust device control 0x%04x ", val);
                val &= ~PCI_PCIE_DCSR_MAX_READ_REQ;
                val |= BGE_PCIE_DEVCTL_MAX_READRQ_4096;
                pci_conf_write(sc->sc_pc, sc->sc_pcitag, sc->bge_pciecap
                    + PCI_PCIE_DCSR, val);
-                       printf("-> 0x%04x\n", val);
+               aprint_verbose("-> 0x%04x\n", val);
        }
 }
 



Home | Main Index | Thread Index | Old Index