From 97b4227cf5de8c76e95b32cb5eb81cc2130b7e15 Mon Sep 17 00:00:00 2001 From: briggs Date: Wed, 30 Oct 1996 05:36:22 +0000 Subject: Make a guess that scsi-b's IRQ is on bit 0 of via2. --- sys/arch/mac68k/mac68k/via.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'sys/arch/mac68k') diff --git a/sys/arch/mac68k/mac68k/via.c b/sys/arch/mac68k/mac68k/via.c index 69792d1745e..a0c54d4d7b6 100644 --- a/sys/arch/mac68k/mac68k/via.c +++ b/sys/arch/mac68k/mac68k/via.c @@ -1,4 +1,4 @@ -/* $OpenBSD: via.c,v 1.10 1996/10/28 14:51:52 briggs Exp $ */ +/* $OpenBSD: via.c,v 1.11 1996/10/30 05:36:21 briggs Exp $ */ /* $NetBSD: via.c,v 1.48 1996/06/21 06:12:45 scottr Exp $ */ /*- @@ -447,15 +447,13 @@ mac68k_register_scsi_b_irq(irq_func, client_data) void (*irq_func)(void *); void *client_data; { -#if 0 if (irq_func) { - via2itab[3] = irq_func; - via2iarg[3] = client_data; + via2itab[0] = irq_func; + via2iarg[0] = client_data; } else { - via2itab[3] = via2_noint; - via2iarg[3] = (void *) 3; + via2itab[0] = via2_noint; + via2iarg[0] = (void *) 0; } -#endif } void -- cgit v1.2.3