mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122928
|
@ -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…
Reference in a new issue