From owner-freebsd-alpha Mon Oct 30 0:31:16 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 5A21137B479 for ; Mon, 30 Oct 2000 00:31:14 -0800 (PST) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id AAA00045 for ; Mon, 30 Oct 2000 00:31:15 -0800 Date: Mon, 30 Oct 2000 00:31:15 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: alpha@freebsd.org Subject: minor patchlet for others to try .. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org If folks have time, could you see whether this somewhat formalistic fixup to isa.c does awful things for you: Index: alpha/isa/isa.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/isa/isa.c,v retrieving revision 1.22 diff -u -r1.22 isa.c --- alpha/isa/isa.c 2000/10/05 23:09:44 1.22 +++ alpha/isa/isa.c 2000/10/30 08:29:32 @@ -71,6 +71,19 @@ splx(s); } +static void +extern_isa_intr_enable(int vector) +{ + isa_intr_enable((vector - 0x800) >> 4); +} + +static void +extern_isa_intr_disable(int vector) +{ + isa_intr_disable((vector - 0x800) >> 4); +} + + intrmask_t isa_irq_pending(void) { @@ -322,7 +335,7 @@ 0x800 + (irq->r_start << 4), isa_handle_intr, ii, ithread_priority(flags), &ii->ih, &intrcnt[INTRCNT_ISA_IRQ + irq->r_start], - NULL, NULL); + extern_isa_intr_enable, extern_isa_intr_disable); if (error) { free(ii, M_DEVBUF); return error; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message