Date: Thu, 17 May 2012 10:47:14 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Jakub Wojciech Klama <jceel@FreeBSD.org> 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 Message-ID: <4FB51D82.50501@freebsd.org> In-Reply-To: <201205162221.q4GMLw94065028@svn.freebsd.org> References: <201205162221.q4GMLw94065028@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB51D82.50501>