Subject: Re: panic: crazy interrupts
To: None <port-sparc@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 11/02/1997 06:59:34
>> [I] believe I can make the [panic: crazy interrupts] go away with a
>> few lines of code.  [...]  But it'd be easy enough to do something
>> like  [tolerate stray interrupts occurring at the splx() in zs_putc]

> Yes, and we can acomplish the same thing with this simple change to
> the return value of zshard:

> *** sparc/dev/zs.c~	Wed Oct 22 10:39:36 1997
> --- sparc/dev/zs.c	Sat Nov  1 12:59:09 1997
> ! 	return (rval);
> ---
> ! 	return (1);

But won't that cause the zs driver to consume _all_ level 12
interrupts?  A comment in z8530sc.c leads me to think that there are
other devices on the same level as the zs in at least some machines;
are none of them SPARCs?  (The example mentioned in the comment is the
sun3x floppy.)

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B