Subject: Re: NetBSD-current/dreamcast broken?
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Harold Gutch <logix@foobar.franken.de>
List: port-dreamcast
Date: 06/14/2004 13:08:40
On Mon, Jun 14, 2004 at 07:03:27PM +0900, Izumi Tsutsui wrote:
> 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",

Thank you, removing that check helped!


bye,
  Harold