diff options
author | John Baldwin <jhb@FreeBSD.org> | 2003-11-06 14:47:53 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2003-11-06 14:47:53 +0000 |
commit | 8dec768242f912a347e6bee16911af2f0d55b73c (patch) | |
tree | ff7eaba886aba7413b515a7bb4c9de065c753704 /sys/amd64/acpica/madt.c | |
parent | dab14df52a959268e8b1c9760d2738b00bd424f3 (diff) | |
download | src-8dec768242f912a347e6bee16911af2f0d55b73c.tar.gz src-8dec768242f912a347e6bee16911af2f0d55b73c.zip |
Only disable the old pin when doing a remap if it's current vector is still
the old vector.
Reported by: sam
Notes
Notes:
svn path=/head/; revision=122172
Diffstat (limited to 'sys/amd64/acpica/madt.c')
-rw-r--r-- | sys/amd64/acpica/madt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/acpica/madt.c b/sys/amd64/acpica/madt.c index 6fcf92e1f4f4..a1652cfd1f4b 100644 --- a/sys/amd64/acpica/madt.c +++ b/sys/amd64/acpica/madt.c @@ -541,7 +541,8 @@ madt_parse_interrupt_override(INTERRUPT_SOURCE_OVERRIDE *intr) &old_pin) != 0) printf("MADT: Could not find APIC for source IRQ %d\n", intr->Source); - else + else if (ioapic_get_vector(old_ioapic, old_pin) == + intr->Source) ioapic_disable_pin(old_ioapic, old_pin); } ioapic_set_triggermode(new_ioapic, new_pin, |