mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Try all of the possible interrupts for a link device when programming
boot-disabled devices instead of skipping the last interrupt. This is especially important for devices that only have one interrupt as this bug was keeping any interrupt from being tried at all. Reviewed by: msmith Approved by: re (scottl)
This commit is contained in:
parent
1ca261efe1
commit
d784bc82f2
1 changed files with 1 additions and 1 deletions
|
|
@ -924,7 +924,7 @@ acpi_pci_link_fixup_bootdisabled_link(void)
|
|||
}
|
||||
|
||||
/* try with lower penalty IRQ. */
|
||||
for (i = 0; i < link->number_of_interrupts - 1; i++) {
|
||||
for (i = 0; i < link->number_of_interrupts; i++) {
|
||||
irq1 = link->sorted_irq[i];
|
||||
error = acpi_pci_link_set_irq(link, irq1);
|
||||
if (error == AE_OK) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue