From owner-cvs-all@FreeBSD.ORG Wed Apr 28 06:06:47 2004 Return-Path: <owner-cvs-all@FreeBSD.ORG> 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 5321C16A4CE; Wed, 28 Apr 2004 06:06:47 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CD5743D41; Wed, 28 Apr 2004 06:06:47 -0700 (PDT) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3SD6kGe097312; Wed, 28 Apr 2004 06:06:46 -0700 (PDT) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3SD6kcO097311; Wed, 28 Apr 2004 06:06:46 -0700 (PDT) (envelope-from tmm) Message-Id: <200404281306.i3SD6kcO097311@repoman.freebsd.org> From: Thomas Moestl <tmm@FreeBSD.org> Date: Wed, 28 Apr 2004 06:06:46 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/ebus ebus.c src/sys/sparc64/isa ofw_isa.c ofw_isa.h src/sys/sparc64/sparc64 ofw_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree <cvs-all.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>, <mailto:cvs-all-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-all> List-Post: <mailto:cvs-all@freebsd.org> List-Help: <mailto:cvs-all-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>, <mailto:cvs-all-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 28 Apr 2004 13:06:47 -0000 tmm 2004/04/28 06:06:46 PDT FreeBSD src repository Modified files: sys/sparc64/ebus ebus.c sys/sparc64/isa ofw_isa.c ofw_isa.h sys/sparc64/sparc64 ofw_machdep.c Log: Fix the EBus driver to work with the new PCI code. Unlike other PCI bridges, the EBus bridge has resource ranges it claims exclusively to map its children into in its BARs. Hence, we need to allocate these completely and manage them for the children, instead of just passing allocations through to the PCI layer as we did before. While being there, split ebus_probe(), which did also contain code normally belonging into the attach method, into ebus_probe() and ebus_attach(), and perform some minor cleanups. Revision Changes Path 1.13 +171 -91 src/sys/sparc64/ebus/ebus.c 1.7 +26 -18 src/sys/sparc64/isa/ofw_isa.c 1.3 +4 -1 src/sys/sparc64/isa/ofw_isa.h 1.8 +2 -2 src/sys/sparc64/sparc64/ofw_machdep.c