Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 1998 16:00:54 -0400 (EDT)
From:      Rick Lotoczky <rickl@ic.net>
To:        Tor Egge <Tor.Egge@idi.ntnu.no>
Cc:        smp@FreeBSD.ORG, andreas@klemm.gtn.com
Subject:   Re: SMP Problems
Message-ID:  <XFMail.980419160054.rickl@ic.net>
In-Reply-To: <199804191720.TAA03652@pat.idi.ntnu.no>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19-Apr-98 Tor Egge wrote:

> It might be reasonable to ignore the polarity/trigger-mode values in
> the MP table if the APIC interrupt pin number corresponds to the
> ISA/EISA interrupt number, since ISA/EISA interrupts are active-high
> edge triggered interrupts when reaching the IOAPIC.
> 
> Thus, instead of
> 
>                         if ((bustype == ISA || bustype == EISA) &&
>                             apic_polarity(apic, pin) != 0x3) {
> 
> the code could be
> 
>                         if ((bustype == ISA || bustype == EISA) &&
>                             pin <= 15 && isa_apic_pin(pin) == pin) {
> 
> Thus an updated version of the patch is as follows:
> 
..text of patch deleted

Tor, I've tried this patch over the original mpapic.c code and it works as well.
Just thought I'd confirm it.


RIck
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980419160054.rickl>