Mask off 'internal slot' in check to see if we should enable nubus intrs.

This commit is contained in:
briggs 1997-04-04 15:33:30 +00:00
parent 4d65b07afa
commit 99d2687e23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: via.c,v 1.59 1997/03/15 18:33:48 scottr Exp $ */
/* $NetBSD: via.c,v 1.60 1997/04/04 15:33:30 briggs Exp $ */
/*-
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
@ -325,7 +325,7 @@ add_nubus_intr(slot, func, client_data)
void
enable_nubus_intr()
{
if (nubus_intr_mask == 0)
if ((nubus_intr_mask & 0x3f) == 0)
return;
if (VIA2 == VIA2OFF)