diff options
author | jhb <jhb@FreeBSD.org> | 2003-11-20 21:23:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-11-20 21:23:49 +0000 |
commit | 5afc80ec76d997afc8d8d55d508225217ec9a9fc (patch) | |
tree | c3eaf75341ce3275a9d66e5cc624e4c9e60891d9 /sys | |
parent | 39caffc9b9148f7d44fab61db9081061cb9f925f (diff) | |
download | FreeBSD-src-5afc80ec76d997afc8d8d55d508225217ec9a9fc.zip FreeBSD-src-5afc80ec76d997afc8d8d55d508225217ec9a9fc.tar.gz |
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)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpica/acpi_pci_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c index 88d6c0a..9326bc9 100644 --- a/sys/dev/acpica/acpi_pci_link.c +++ b/sys/dev/acpica/acpi_pci_link.c @@ -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) { |