summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-08-26 17:14:36 +0000
committernjl <njl@FreeBSD.org>2004-08-26 17:14:36 +0000
commitc246d1f1a9eb9335d7a81b5cec20b8faef9d80c2 (patch)
tree1d5b350b648f6416450ac00d29c2e072e5921da0 /sys/dev/acpica
parent6d1d9491c0888a5f781e728fdd996949b405f5c7 (diff)
downloadFreeBSD-src-c246d1f1a9eb9335d7a81b5cec20b8faef9d80c2.zip
FreeBSD-src-c246d1f1a9eb9335d7a81b5cec20b8faef9d80c2.tar.gz
If getting the current setting after modifying the link failed, we assume
it succeeded. However, we also need to set the status to AE_OK.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_pci_link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c
index 13a9ecb..ffecd5f 100644
--- a/sys/dev/acpica/acpi_pci_link.c
+++ b/sys/dev/acpica/acpi_pci_link.c
@@ -651,6 +651,7 @@ acpi_pci_link_set_irq(struct acpi_pci_link_entry *link, UINT8 irq)
if (ACPI_FAILURE(error) && bootverbose) {
printf("acpi link set: _CRS failed for link %s - %s\n",
acpi_name(link->handle), AcpiFormatException(error));
+ error = AE_OK;
}
if (link->current_irq != irq) {
printf("acpi link set: curr irq %d != %d for %s (ignoring)\n",
OpenPOWER on IntegriCloud