Subject: Re: NetBSD-current/dreamcast broken?
To: None <port-dreamcast@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-dreamcast
Date: 06/14/2004 19:03:27
In article <20040613234817.GA82644@foobar.franken.de>
logix@foobar.franken.de wrote:

> Has anybody else seen NetBSD/dreamcast not working lately?

There is a wrong assertion (which was enabled recently)?

Index: sysasic.c
===================================================================
RCS file: /cvsroot/src/sys/arch/dreamcast/dreamcast/sysasic.c,v
retrieving revision 1.7
diff -u -r1.7 sysasic.c
--- sysasic.c	17 May 2004 20:47:17 -0000	1.7
+++ sysasic.c	14 Jun 2004 10:00:39 -0000
@@ -216,7 +216,7 @@
 	KDASSERT(event >= 0 && event <= SYSASIC_EVENT_MAX);
 	syh = hnd->hnd_syh;
 
-#ifdef DIAGNOSTIC
+#if 0 /*ifdef DIAGNOSTIC */
 	if ((syh->syh_events[SYSASIC_EVENT_INTR_MAP(event)] &
 	    SYSASIC_EVENT_INTR_BIT(event)) == 0)
 		panic("sysasic_intr_enable: event %d not installed for irq %d",

---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp