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)
This commit is contained in:
John Baldwin 2003-11-20 22:21:51 +00:00
parent fc906dd88f
commit 3500189b0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122928

View file

@ -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;