cvs commit: src/sys/sparc64/pci psycho.c
Marius Strobl
marius at FreeBSD.org
Sat Dec 3 16:37:17 GMT 2005
marius 2005-12-03 16:36:54 UTC
FreeBSD src repository
Modified files:
sys/sparc64/pci psycho.c
Log:
- Register the PCI bus error interrupt handler according to which half of
the bridge (PCI bus A or B) we are attaching to rather than registering
both handlers at once when attaching to the first half we encounter.
This is a bit cleaner as it corresponds to which PCI bus error interrupt
actually is assigned to the respective half by the OFW and allows to
collapse both PCI bus error interrupt handlers into one function easily.
- Use the actual RID of the respective interrupt resource as index into
sc_irq_res and also use it when allocating the resource. For now this
is a bit cleaner and will be mandatory later on.
- According to OpenSolaris the spare hardware interrupt is used as the
over-temperature interrupt in systems with Psycho bridges. Unlike as
with the SBus-based workstations I didn't manage to trigger it when
covering the fan outlets of an U60 but better be safe than sorry and
register a handler anyway.
MFC after: 1 month
Revision Changes Path
1.57 +36 -26 src/sys/sparc64/pci/psycho.c
More information about the cvs-src
mailing list