summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-03-27 14:58:54 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-03-27 14:58:54 +0000
commit57adf10529937e550bbc41a9d14be09b885bde64 (patch)
tree4f1360b51039710c0257e0def89ee6e3848dc6ff /sys/arch/mac68k
parentd60a6fb5aaeeb57ac8dbbe84477525384087af46 (diff)
Be more careful about enabling nubus interrupts.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/via.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/via.c b/sys/arch/mac68k/mac68k/via.c
index 664000211eb..f839db2aad0 100644
--- a/sys/arch/mac68k/mac68k/via.c
+++ b/sys/arch/mac68k/mac68k/via.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: via.c,v 1.13 1997/03/08 16:17:06 briggs Exp $ */
+/* $OpenBSD: via.c,v 1.14 1997/03/27 14:58:53 briggs Exp $ */
/* $NetBSD: via.c,v 1.58 1997/03/04 04:11:52 scottr Exp $ */
/*-
@@ -322,7 +322,7 @@ add_nubus_intr(slot, func, client_data)
void
enable_nubus_intr()
{
- if (!nubus_intr_mask)
+ if ((nubus_intr_mask & 0x3f) == 0)
return;
if (VIA2 == VIA2OFF)