From owner-freebsd-smp Sun Apr 19 13:01:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01628 for freebsd-smp-outgoing; Sun, 19 Apr 1998 13:01:40 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from ic.net (qmailr@srv1b.ic.net [152.160.72.20]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA01563 for ; Sun, 19 Apr 1998 20:01:17 GMT (envelope-from rickl@ic.net) Received: (qmail 1647 invoked from network); 19 Apr 1998 20:00:56 -0000 Received: from unknown (HELO lurch.rickl.org) (152.160.108.5) by unknown with SMTP; 19 Apr 1998 20:00:56 -0000 Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199804191720.TAA03652@pat.idi.ntnu.no> Date: Sun, 19 Apr 1998 16:00:54 -0400 (EDT) Reply-To: rickl@ic.net Organization: ic.net From: Rick Lotoczky To: Tor Egge Subject: Re: SMP Problems Cc: smp@FreeBSD.ORG, andreas@klemm.gtn.com Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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