Subject: Re: -current hangs during config
To: Paul Goyette <paul@pgoyette.bdt.com>
From: Allen Briggs <briggs@puma.macbsd.com>
List: port-mac68k
Date: 03/27/1997 09:56:33
> Have I missed something recently that changed the interrupt handling on
> the Mac68k port (specifically, video interrupts) between 15-March and
> 22-March?

Yes.  Scott integrated a change that I suggested--it is more reasonable
than either the pre-existing code or the MAC68K_BROKEN_VIDEO code.  The
following patch fixes an oversight in my change:


Index: via.c
===================================================================
RCS file: /cvsroot/src/sys/arch/mac68k/mac68k/via.c,v
retrieving revision 1.59
diff -u -r1.59 via.c
--- via.c	1997/03/15 18:33:48	1.59
+++ via.c	1997/03/27 14:59:37
@@ -325,7 +325,7 @@
 void
 enable_nubus_intr()
 {
-	if (nubus_intr_mask == 0)
+	if ((nubus_intr_mask & 0x3f) == 0)
 		return;
 
 	if (VIA2 == VIA2OFF)

Can you try this out, Paul, and let me know if it works?

Thanks,
-allen

-- 
              Allen Briggs - end killing - briggs@macbsd.com