From owner-cvs-src@FreeBSD.ORG Sat Apr 26 18:41:00 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE661065682; Sat, 26 Apr 2008 18:41:00 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8648FC1D; Sat, 26 Apr 2008 18:41:00 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3QIf0lv052702; Sat, 26 Apr 2008 18:41:00 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3QIf03k052701; Sat, 26 Apr 2008 18:41:00 GMT (envelope-from marcel) Message-Id: <200804261841.m3QIf03k052701@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 26 Apr 2008 18:41:00 +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/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_macio.c scc_bfe_quicc.c scc_bfe_sbus.c scc_core.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: Sat, 26 Apr 2008 18:41:00 -0000 marcel 2008-04-26 18:41:00 UTC FreeBSD src repository Modified files: sys/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_macio.c scc_bfe_quicc.c scc_bfe_sbus.c scc_core.c Log: With rev 1.24 of sys/powerpc/powermac/macio.c, we now get a total of 6 interrupt resources for scc(4) on macio(4). This is 3 per channel, of which the 1st of each channel is the interrupt associated with the SCC. The other 2 are for DMA operation. Change scc_bfe_attach() to accept an argument that's the number of interrupts per channel (ipc) and change each bus front-end (bfe) to pass that argument through a wrapper for the device_attach method. For now, we only allocate the 1st interrupt of each channel to perserve behaviour. Revision Changes Path 1.8 +1 -1 src/sys/dev/scc/scc_bfe.h 1.4 +8 -1 src/sys/dev/scc/scc_bfe_ebus.c 1.3 +8 -1 src/sys/dev/scc/scc_bfe_macio.c 1.2 +8 -1 src/sys/dev/scc/scc_bfe_quicc.c 1.6 +8 -1 src/sys/dev/scc/scc_bfe_sbus.c 1.11 +11 -2 src/sys/dev/scc/scc_core.c