summaryrefslogtreecommitdiffstats
path: root/sys/i386/pci
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-07-01 07:46:29 +0000
committerjhb <jhb@FreeBSD.org>2004-07-01 07:46:29 +0000
commit900e7c295df4b2ceeb962eed75c09dcd513e8474 (patch)
tree21d778c675dd108d89c9cdf1b6991ddb90939ee8 /sys/i386/pci
parent3c5c35a72b44c745361adcdc5002abdd00233ca6 (diff)
downloadFreeBSD-src-900e7c295df4b2ceeb962eed75c09dcd513e8474.zip
FreeBSD-src-900e7c295df4b2ceeb962eed75c09dcd513e8474.tar.gz
Trim a few things from the dmesg output and stick them under bootverbose to
cut down on the clutter including PCI interrupt routing, MTRR, pcibios, etc. Discussed with: USENIX Cabal
Diffstat (limited to 'sys/i386/pci')
-rw-r--r--sys/i386/pci/pci_cfgreg.c4
-rw-r--r--sys/i386/pci/pci_pir.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index bd3d5a6..5cde7d2 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -106,8 +106,8 @@ pci_cfgregopen(void)
v = pcibios_get_version();
if (v > 0)
- printf("pcibios: BIOS version %x.%02x\n", (v & 0xff00) >> 8,
- v & 0xff);
+ PRVERB(("pcibios: BIOS version %x.%02x\n", (v & 0xff00) >> 8,
+ v & 0xff));
mtx_init(&pcicfg_mtx, "pcicfg", NULL, MTX_SPIN);
opened = 1;
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index 99b8749..9577c95 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.c
@@ -525,8 +525,9 @@ pci_pir_route_interrupt(int bus, int device, int func, int pin)
BUS_CONFIG_INTR(pir_device, pci_link->pl_irq,
INTR_TRIGGER_LEVEL, INTR_POLARITY_LOW);
}
- printf("$PIR: %d:%d INT%c routed to irq %d\n", bus, device,
- pin - 1 + 'A', pci_link->pl_irq);
+ if (bootverbose)
+ printf("$PIR: %d:%d INT%c routed to irq %d\n", bus, device,
+ pin - 1 + 'A', pci_link->pl_irq);
return (pci_link->pl_irq);
}
OpenPOWER on IntegriCloud