diff options
author | tegge <tegge@FreeBSD.org> | 1998-05-17 17:32:10 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-05-17 17:32:10 +0000 |
commit | e5dde192a087fe04497b8bd7b812e84dbe6c17b2 (patch) | |
tree | ea7814b84767ba5c7fbccd2a6b7da6f72a840cc0 | |
parent | 86337bf437231439248dd4b12415782692638387 (diff) | |
download | FreeBSD-src-e5dde192a087fe04497b8bd7b812e84dbe6c17b2.zip FreeBSD-src-e5dde192a087fe04497b8bd7b812e84dbe6c17b2.tar.gz |
Be more restrictive about when to disregard MP config table values
(previous commit broke support for Dec Personal Workstation).
-rw-r--r-- | sys/i386/i386/mpapic.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/i386/mpapic.c b/sys/i386/i386/mpapic.c index 40b8235..a101a2c 100644 --- a/sys/i386/i386/mpapic.c +++ b/sys/i386/i386/mpapic.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mpapic.c,v 1.29 1998/04/01 21:07:34 tegge Exp $ + * $Id: mpapic.c,v 1.30 1998/04/19 23:19:20 tegge Exp $ */ #include "opt_smp.h" @@ -179,7 +179,9 @@ io_apic_setup(int apic) /* the "ISA" type INTerrupts */ if ((bustype == ISA) && (pin < IOAPIC_ISA_INTS) && - (isa_apic_pin(pin) == pin)) { + (isa_apic_pin(pin) == pin) && + (apic_polarity(apic, pin) == 0x1) && + (apic_trigger(apic, pin) == 0x3)) { flags = DEFAULT_ISA_FLAGS; } |