Module Name: src Committed By: tsutsui Date: Sat Jun 26 01:42:57 UTC 2010
Modified Files: src/sys/arch/sparc/dev: zs.c Log Message: 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 dyo...@. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/sparc/dev/zs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.