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:
parent
fc906dd88f
commit
3500189b0e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user