Subject: CVS commit: src/sys/arch/sgimips
To: None <source-changes@netbsd.org>
From: Rafal Boni <rafal@netbsd.org>
List: source-changes
Date: 01/06/2003 08:19:42
Module Name:	src
Committed By:	rafal
Date:		Mon Jan  6 06:19:41 UTC 2003

Modified Files:
	src/sys/arch/sgimips/dev: com_mace.c crime.c mace.c
	src/sys/arch/sgimips/pci: pci_machdep.c

Log Message:
Improve the interrupt code somewhat by having callers of xxx_intr_establish
pass in an interrupt handle (which is currently to the CRIME interrupt the
device is attached to) so the interrupt handlers know which device was the
one looking for attention.

While here, fix up PCI interrupt routing for both the on-board devices and
the PCI slots -- even though there is only one PCI slot in the chasis, the
hardware can accomodate up to three and provides an interrupt mapping for
all the PCI interrupt pins for both the internal SCSI & PCI slot and the
two "extra" slots.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/arch/sgimips/dev/com_mace.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/sgimips/dev/crime.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/sgimips/dev/mace.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/sgimips/pci/pci_machdep.c

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