svn commit: r245331 - head/sys/mips/mips

Nathan Whitehorn nwhitehorn at freebsd.org
Sat Jan 12 16:30:03 UTC 2013


On 01/12/13 07:53, Robert Watson wrote:
> Author: rwatson
> Date: Sat Jan 12 15:53:45 2013
> New Revision: 245331
> URL: http://svnweb.freebsd.org/changeset/base/245331
> 
> Log:
>   Merge Perforce chance 219924 to head:
>   
>     In a sign of weakness, replicate the MIPS bus_space_generic.c to
>     produce a new FDT version, which will perform necessary address
>     space translation for bus_space -- the solution used in NLM's MIPS
>     FDT support, but possibly not quite the right thing.  This is
>     inconsistent with regular I/O via the nexus and the generic
>     bus_space, which instead perform translation via pmap_mapdev()
>     when a resource is activated.  However, it will work while I
>     attempt to identify what the right way to reconcile possible
>     approaches.
>   
>     (Another approach might be to make simplebus use Nexus's activate
>     routine instead of a generic one?)
>   
>   Sponsored by:	DARPA, AFRL
> 

Using nexus's instead of having a parallel universe of "FDT" things is,
in my opinion, the right way to go. It's what we do on PowerPC and SPARC
with real Open Firmware and there is no reason to do things any
differently with FDT.
-Nathan



More information about the svn-src-all mailing list