diff options
author | jhb <jhb@FreeBSD.org> | 2004-11-11 22:33:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-11-11 22:33:08 +0000 |
commit | feb4d6ee906dc73878fcd6dc412376db11f445a5 (patch) | |
tree | 9144d803ed70880981e0166188737ef80524bb43 /sys/dev/acpica | |
parent | d7f30dee5518a11ee5d88d8f182cfe6947cd1c4b (diff) | |
download | FreeBSD-src-feb4d6ee906dc73878fcd6dc412376db11f445a5.zip FreeBSD-src-feb4d6ee906dc73878fcd6dc412376db11f445a5.tar.gz |
Only warn about missing _PRT tables if bootverbose is set. I've yet to see
a bridge without a _PRT were a _PRT was needed. Instead, the warning in
dmesg is a false warning and only serves to cause unnecessary concern.
MFC after: 1 week
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpi_pcib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index f8b8e9d..0a41ddc 100644 --- a/sys/dev/acpica/acpi_pcib.c +++ b/sys/dev/acpica/acpi_pcib.c @@ -70,11 +70,13 @@ acpi_pcib_attach(device_t dev, ACPI_BUFFER *prt, int busno) /* * Get the PCI interrupt routing table for this bus. If we can't - * get it, this is not an error but may reduce functionality. + * get it, this is not an error but may reduce functionality. There + * are several valid bridges in the field that do not have a _PRT, so + * only warn about missing tables if bootverbose is set. */ prt->Length = ACPI_ALLOCATE_BUFFER; status = AcpiGetIrqRoutingTable(acpi_get_handle(dev), prt); - if (ACPI_FAILURE(status)) + if (ACPI_FAILURE(status) && (bootverbose || status != AE_NOT_FOUND)) device_printf(dev, "could not get PCI interrupt routing table for %s - %s\n", acpi_name(acpi_get_handle(dev)), AcpiFormatException(status)); |