diff options
author | jhb <jhb@FreeBSD.org> | 2004-07-01 07:46:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-07-01 07:46:29 +0000 |
commit | 900e7c295df4b2ceeb962eed75c09dcd513e8474 (patch) | |
tree | 21d778c675dd108d89c9cdf1b6991ddb90939ee8 /sys/dev/acpica | |
parent | 3c5c35a72b44c745361adcdc5002abdd00233ca6 (diff) | |
download | FreeBSD-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/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpi_pcib.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index 8eeda8e..9392689 100644 --- a/sys/dev/acpica/acpi_pcib.c +++ b/sys/dev/acpica/acpi_pcib.c @@ -275,8 +275,9 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin, * XXX check ASL examples to see if this is an acceptable set of tests */ if (NumberOfInterrupts == 1 && Interrupts[0] != 0) { - device_printf(pcib, "slot %d INT%c is routed to irq %d\n", - pci_get_slot(dev), 'A' + pin, Interrupts[0]); + if (bootverbose) + device_printf(pcib, "slot %d INT%c is routed to irq %d\n", + pci_get_slot(dev), 'A' + pin, Interrupts[0]); interrupt = Interrupts[0]; goto out; } @@ -338,10 +339,12 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin, * Build a resource buffer and pass it to AcpiSetCurrentResources to * route the new interrupt. */ - device_printf(pcib, "possible interrupts:"); - for (i = 0; i < NumberOfInterrupts; i++) - printf(" %d", Interrupts[i]); - printf("\n"); + if (bootverbose) { + device_printf(pcib, "possible interrupts:"); + for (i = 0; i < NumberOfInterrupts; i++) + printf(" %d", Interrupts[i]); + printf("\n"); + } /* This should never happen. */ if (crsbuf.Pointer != NULL) @@ -383,9 +386,9 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin, crsres = &resbuf; /* Return the interrupt we just routed. */ - device_printf(pcib, "slot %d INT%c routed to irq %d via %s\n", - pci_get_slot(dev), 'A' + pin, Interrupts[0], - acpi_name(lnkdev)); + if (bootverbose) + device_printf(pcib, "slot %d INT%c routed to irq %d via %s\n", + pci_get_slot(dev), 'A' + pin, Interrupts[0], acpi_name(lnkdev)); interrupt = Interrupts[0]; out: |