From owner-cvs-all@FreeBSD.ORG Fri Mar 4 22:23:21 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6E8E16A4CE; Fri, 4 Mar 2005 22:23:21 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC5C743D2D; Fri, 4 Mar 2005 22:23:21 +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 j24MNL23014036; Fri, 4 Mar 2005 22:23:21 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j24MNLQO014035; Fri, 4 Mar 2005 22:23:21 GMT (envelope-from marius) Message-Id: <200503042223.j24MNLQO014035@repoman.freebsd.org> From: Marius Strobl Date: Fri, 4 Mar 2005 22:23:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/fhc fhc.c src/sys/dev/puc puc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 22:23:22 -0000 marius 2005-03-04 22:23:21 UTC FreeBSD src repository Modified files: sys/sparc64/fhc fhc.c sys/dev/puc puc.c Log: - sparc64/fhc/fhc.c: Change fhc(4) to use IRQ numbers instead of RIDs for allocating the IRQs of children. This works similar to e.g. sbus(4), i.e. add the IRQ resources as fully specified to the resource lists of the children, allocate them like normal. When establishing the interrupt search the interrupt maps of the children for a matching INO to determine which map we need to write the fully specified interrupt number to and to enable the mapping (before the RID was used to indicate which interrupt map to use). - dev/puc/puc.c: Revert rev. 1.38, with the above change fhc(4) no longer needs special treatment for allocating IRQs. Thanks to: joerg for providing access to an E3500 Revision Changes Path 1.39 +0 -9 src/sys/dev/puc/puc.c 1.11 +57 -39 src/sys/sparc64/fhc/fhc.c