[PATCH 03/17] bootwrapper: Add xlate_reg(), and use it to find serial registers.

David Gibson david at gibson.dropbear.id.au
Tue Mar 20 14:50:05 EST 2007


On Fri, Mar 16, 2007 at 12:27:57PM -0500, Scott Wood wrote:
> xlate_reg() uses the ranges properties of a node's parentage to find the
> absolute physical address of the node's registers.
> 
> The ns16550 driver uses this when no virtual-reg property is found.

This is a pretty large chunk of code for use on just some platforms.
Remind me why we can't just insist on the presence of virtual-reg?

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list