Date: Thu, 26 Jan 2006 21:14:32 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200601262114.k0QLEW9B013528@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601262114.k0QLEW9B013528>
