From 3500189b0ea72c83bde7c35b0a39a8c9688dc8d6 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 20 Nov 2003 22:21:51 +0000 Subject: [PATCH] Fix a typo in my patches to support extended IRQ resources that broke the type checking for _PRS for a link device's interrupt resources. Approved by: re (scottl) --- sys/dev/acpica/acpi_pcib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index 731b040d4d93..6c3151f259e7 100644 --- a/sys/dev/acpica/acpi_pcib.c +++ b/sys/dev/acpica/acpi_pcib.c @@ -287,7 +287,7 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin, } /* type-check the resource we've got */ - if (prsres->Id != ACPI_RSTYPE_IRQ || prsres->Id != ACPI_RSTYPE_EXT_IRQ) { + if (prsres->Id != ACPI_RSTYPE_IRQ && prsres->Id != ACPI_RSTYPE_EXT_IRQ) { device_printf(pcib, "_PRS resource entry has unsupported type %d\n", prsres->Id); goto out;