From 9b61e54ab71c76c466a305a5774470eb73ae764b Mon Sep 17 00:00:00 2001 From: ad Date: Sun, 25 Apr 2010 11:23:34 +0000 Subject: [PATCH] console spam --- sys/dev/gpio/gpio.c | 6 +++--- sys/dev/pci/if_bge.c | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/sys/dev/gpio/gpio.c b/sys/dev/gpio/gpio.c index 1c62dd6f27f6..59af1a12ad84 100644 --- a/sys/dev/gpio/gpio.c +++ b/sys/dev/gpio/gpio.c @@ -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 -__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 @@ gpiobus_print(void *aux, const char *pnp) struct gpiobus_attach_args *gba = aux; #endif if (pnp != NULL) - printf("gpiobus at %s", pnp); + aprint_normal("gpiobus at %s", pnp); return UNCONF; } diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 6be0c71766d4..ce38a0b83be5 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -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 -__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 @@ bge_set_max_readrq(struct bge_softc *sc) + 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); } }