summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1996-10-30 05:36:22 +0000
committerbriggs <briggs@cvs.openbsd.org>1996-10-30 05:36:22 +0000
commit97b4227cf5de8c76e95b32cb5eb81cc2130b7e15 (patch)
treef6a9fbcbc8027411f4ad2fc509244737e672dceb /sys/arch
parent99f0bbcf3b4edb934109f1b8ff17834cb78ffa52 (diff)
Make a guess that scsi-b's IRQ is on bit 0 of via2.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/mac68k/via.c12
1 files changed, 5 insertions, 7 deletions
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