cvs commit: src/sys/sparc64/central central.c src/sys/sparc64/ebus
ebus.c src/sys/sparc64/fhc fhc_central.c fhc_nexus.c
src/sys/sparc64/pci psycho.c src/sys/sparc64/sbus dma_sbus.c sbus.c
Marius Strobl
marius at FreeBSD.org
Thu Jan 26 13:14:32 PST 2006
marius 2006-01-26 21:14:32 UTC
FreeBSD src repository
Modified files:
sys/sparc64/central central.c
sys/sparc64/ebus ebus.c
sys/sparc64/fhc fhc_central.c fhc_nexus.c
sys/sparc64/pci psycho.c
sys/sparc64/sbus dma_sbus.c sbus.c
Log:
- Register the generic implementations for the device shutdown, suspend
and resume methods so these events propagate through the device driver
hierarchy.
- In dma(4) enable the chaining of the DMA engine interrupt handler for
the LANCE devices via a dma_setup_intr(). This was commented out before
as I was unsure whether I'd use it but this is probably cleaner than
fiddling with the DMA engine interrupt in the LANCE driver directly.
- In ebus_setup_dinfo() free 'intrs' instead of 'reg' twice in case
setting up a child fails due to routing one of its interrupts fails. [1]
Found by: Coverity Prevent [1]
MFC after: 3 days
Revision Changes Path
1.11 +3 -0 src/sys/sparc64/central/central.c
1.25 +4 -1 src/sys/sparc64/ebus/ebus.c
1.10 +3 -0 src/sys/sparc64/fhc/fhc_central.c
1.9 +3 -0 src/sys/sparc64/fhc/fhc_nexus.c
1.59 +3 -0 src/sys/sparc64/pci/psycho.c
1.3 +3 -8 src/sys/sparc64/sbus/dma_sbus.c
1.37 +3 -0 src/sys/sparc64/sbus/sbus.c
More information about the cvs-all
mailing list