Subject: CVS commit: syssrc/sys/arch/sparc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 12/06/2002 18:04:14
Module Name:	syssrc
Committed By:	pk
Date:		Fri Dec  6 16:04:14 UTC 2002

Modified Files:
	syssrc/sys/arch/sparc/dev: sbus.c vme_machdep.c
	syssrc/sys/arch/sparc/include: cpu.h
	syssrc/sys/arch/sparc/sparc: intr.c locore.s machdep.c oclock.c timer.c

Log Message:
Pass the `device class interrupt level' on to intr_establish() and use to
raise the ipl in the interrupt handlers to the appropriate level. This avoids
interrupt handler interference if one of the devices actually interrupts at
a lower hardware level than the maximum level assined to a device class.

Based on code from Art Grabowski in openbsd.


To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 syssrc/sys/arch/sparc/dev/sbus.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/arch/sparc/dev/vme_machdep.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/arch/sparc/include/cpu.h
cvs rdiff -r1.60 -r1.61 syssrc/sys/arch/sparc/sparc/intr.c
cvs rdiff -r1.165 -r1.166 syssrc/sys/arch/sparc/sparc/locore.s
cvs rdiff -r1.205 -r1.206 syssrc/sys/arch/sparc/sparc/machdep.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sparc/sparc/oclock.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/sparc/sparc/timer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.