From a00fb83e0f3f38062b613e819d45c9d2646bc071 Mon Sep 17 00:00:00 2001 From: briggs Date: Thu, 27 Mar 1997 14:58:53 +0000 Subject: [PATCH] Be more careful about enabling nubus interrupts. --- sys/arch/mac68k/mac68k/via.c | 4 ++-- 1 file 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) -- 2.20.1