From owner-svn-src-user@FreeBSD.ORG Thu May 17 16:47:24 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 006C61065673; Thu, 17 May 2012 16:47:24 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id C18918FC14; Thu, 17 May 2012 16:47:23 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0M460050QBUTF200@smtpauth1.wiscmail.wisc.edu>; Thu, 17 May 2012 10:47:17 -0500 (CDT) Received: from anacreon.physics.wisc.edu (anacreon.physics.wisc.edu [128.104.160.176]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0M4600F2WBUQZK30@smtpauth1.wiscmail.wisc.edu>; Thu, 17 May 2012 10:47:14 -0500 (CDT) Date: Thu, 17 May 2012 10:47:14 -0500 From: Nathan Whitehorn In-reply-to: <201205162221.q4GMLw94065028@svn.freebsd.org> To: Jakub Wojciech Klama Message-id: <4FB51D82.50501@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.160.176 X-Spam-PmxInfo: Server=avs-15, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.5.17.154219, SenderIP=128.104.160.176 References: <201205162221.q4GMLw94065028@svn.freebsd.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD powerpc; en-US; rv:1.9.2.28) Gecko/20120423 Thunderbird/3.1.20 Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r235526 - in user/jceel/soc2012_armv6/sys: arm/ti dev/fdt dev/uart X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 16:47:24 -0000 On 05/16/12 17:21, Jakub Wojciech Klama wrote: > Author: jceel > Date: Wed May 16 22:21:57 2012 > New Revision: 235526 > URL: http://svn.freebsd.org/changeset/base/235526 > > Log: > Rewrite FDT bus ranges calculation: > > - bus ranges from DTS files are correctly read and used for translation > of device register addresses. this includes empty "ranges;" property > as well as encoded ranges tuples. > - simplebuses can be freely nested (except for system console UART which > should be placed in toplevel simplebus) > - base addresses in resources (rman) are now physical. translation or > mapping to virtual address is done via bus_space_map() and can be > accessed via rman_get_bushandle(). > - ti_mmchs driver is corrected to use physical registers base address > from rman instead of using vtophys(). [Replying randomly] Are there any plans to merge this stuff with the support code in dev/ofw (and maybe the not-so-MD bits in sys/powerpc and sys/sparc64)? It looks like there is a huge amount of code duplication and that the ofw implementations are in general more complete. -Nathan