Date: Mon, 30 Oct 2000 00:31:15 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: alpha@freebsd.org Subject: minor patchlet for others to try .. Message-ID: <Pine.BSF.4.21.0010300029570.16949-100000@beppo.feral.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010300029570.16949-100000>