]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Really slam the door on mixed mode now that we don't depend on it for a
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 5 Dec 2005 22:09:30 +0000 (22:09 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 5 Dec 2005 22:09:30 +0000 (22:09 +0000)
commit5ae84c09e7dffb4ca52406ec1bbe6d98d51a47d2
tree0c3d127b2c2dac80169bcb1af8ce629eaa621376
parent48c8cbcb8225b03f45ef847a47659e04f6404af7
Really slam the door on mixed mode now that we don't depend on it for a
working IRQ0 with APIC anymore.  Previously, it was possible to have
some other ATPIC IRQS "leak" through in a few edge cases.  For example, on
my x86 test machine, ACPI re-routes the SCI (IRQ 9) to intpin 13 on the
first I/O APIC.  This leaves a hole for IRQ 13 (since the APIC doesn't
provide a source for IRQ 13 in that case) with the result that the ATPIC
IRQ13 source was registered instead.  This changes the 8259A drivers to
only register their interrupt sources if none of the 16 ISA IRQs have an
interrupt source already installed.

MFC after: 1 week
sys/amd64/isa/atpic.c
sys/i386/isa/atpic.c