From owner-cvs-src@FreeBSD.ORG Thu Jan 26 21:14:32 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB43B16A420; Thu, 26 Jan 2006 21:14:32 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 819E843D49; Thu, 26 Jan 2006 21:14:32 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0QLEWe2013529; Thu, 26 Jan 2006 21:14:32 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0QLEW9B013528; Thu, 26 Jan 2006 21:14:32 GMT (envelope-from marius) Message-Id: <200601262114.k0QLEW9B013528@repoman.freebsd.org> From: Marius Strobl Date: Thu, 26 Jan 2006 21:14:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 21:14:32 -0000 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