diff options
author | 1997-03-27 14:58:53 +0000 | |
---|---|---|
committer | 1997-03-27 14:58:53 +0000 | |
commit | a00fb83e0f3f38062b613e819d45c9d2646bc071 (patch) | |
tree | 92484a48c1acd1072d7d1ed37a73d5cd581acedd | |
parent | Use P_MD_REGS instead of P_MD + MD_REGS (consistent with hp300) (diff) | |
download | wireguard-openbsd-a00fb83e0f3f38062b613e819d45c9d2646bc071.tar.xz wireguard-openbsd-a00fb83e0f3f38062b613e819d45c9d2646bc071.zip |
Be more careful about enabling nubus interrupts.
-rw-r--r-- | sys/arch/mac68k/mac68k/via.c | 4 |
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) |