Forgot to commit this one that should have been done with zs.c rev 1.119:
> Establish interrupt handlers with proper softc per each zs device > rather than sharing them among all zs devices and searching softc > in handlers. > > The latter method is derived from ancient sun3 zs driver which tried > to reduce overhead on autovectored interrupts, but nowadays such hack > might cause recursive global locks on modern SMP capable framework. > > Fixes "5.99.30 sparc panic during startup" reported by Hauke Fath > on tech-kern@: > http://mail-index.NetBSD.org/tech-kern/2010/06/19/msg008374.html > and also tested by Jochen Kunz on SS20 with both serial and kbd console. > > Ok'ed by mrg@ and dyoung@. Noticed by martin@.
This commit is contained in:
parent
25133d6d8f
commit
e193fab21a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: z8530var.h,v 1.9 2008/03/29 19:15:35 tsutsui Exp $ */
|
||||
/* $NetBSD: z8530var.h,v 1.10 2010/06/26 16:10:00 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -54,6 +54,7 @@ struct zsc_softc {
|
|||
int zsc_node; /* PROM node, if any */
|
||||
struct evcnt zsc_intrcnt; /* count interrupts */
|
||||
struct zs_chanstate zsc_cs_store[2];
|
||||
void *zsc_sicookie; /* softint(9) cookie */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue