From 7ecd49c463803c8aecec96a6ee944d03087f41a3 Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Wed, 18 Aug 2004 16:39:59 +0000 Subject: [PATCH] If _CRS fails, assume that it succeeded. The ASUS K8V (and others) defines single-entry irq links even though it uses an APIC. It appears that it ignores _SRS when in APIC mode but returns a valid irq at other times. --- sys/dev/acpica/acpi_pci_link.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c index 4576bec4a42..a9f2d13198f 100644 --- a/sys/dev/acpica/acpi_pci_link.c +++ b/sys/dev/acpica/acpi_pci_link.c @@ -648,10 +648,9 @@ acpi_pci_link_set_irq(struct acpi_pci_link_entry *link, UINT8 irq) * assume we were successful. */ error = acpi_pci_link_get_current_irq(link, &link->current_irq); - if (ACPI_FAILURE(error)) { + if (ACPI_FAILURE(error) && bootverbose) { printf("acpi link set: _CRS failed for link %s - %s\n", acpi_name(link->handle), AcpiFormatException(error)); - goto out; } if (link->current_irq != irq) { printf("acpi link set: curr irq %d != %d for %s (ignoring)\n",