summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-11-20 22:21:51 +0000
committerjhb <jhb@FreeBSD.org>2003-11-20 22:21:51 +0000
commit5f62785378497760dd177a686321402caf596a1a (patch)
treed9c42b2d816be7645b5d71c9f8bb2135bfd8d4eb /sys/dev/acpica
parentb79d63c1784383aff642b916b1da2ab5e708f47c (diff)
downloadFreeBSD-src-5f62785378497760dd177a686321402caf596a1a.zip
FreeBSD-src-5f62785378497760dd177a686321402caf596a1a.tar.gz
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)
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_pcib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c
index 731b040..6c3151f 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;
OpenPOWER on IntegriCloud