From owner-cvs-src-old@FreeBSD.ORG Sun May 2 16:39:14 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADED21065677 for ; Sun, 2 May 2010 16:39:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9D5C08FC20 for ; Sun, 2 May 2010 16:39:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o42GdE2w035329 for ; Sun, 2 May 2010 16:39:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o42GdEkg035328 for cvs-src-old@freebsd.org; Sun, 2 May 2010 16:39:14 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201005021639.o42GdEkg035328@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 2 May 2010 16:38:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/sparc64/sparc64 ofw_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 16:39:14 -0000 marius 2010-05-02 16:38:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/sparc64 ofw_machdep.c Log: SVN rev 207516 on 2010-05-02 16:38:57Z by marius MFC: r206448 Do as the comment suggests and determine the bus space based on the last bus we actually mapped at rather than always based on the last bus we encountered while moving upward in the tree. Otherwise we might use the wrong bus space in case the bridge directly underneath the nexus doesn't require mapping, i.e. was skipped as it's the case for ssm(4) nodes. Revision Changes Path 1.16.2.3 +5 -8 src/sys/sparc64/sparc64/ofw_machdep.c