From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 20 Mar 2007 14:50:05 +1100 From: David Gibson To: Scott Wood Subject: Re: [PATCH 03/17] bootwrapper: Add xlate_reg(), and use it to find serial registers. Message-ID: <20070320035005.GB21124@localhost.localdomain> References: <20070316172641.GA29709@ld0162-tx32.am.freescale.net> <20070316172757.GC29784@ld0162-tx32.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070316172757.GC29784@ld0162-tx32.am.freescale.net> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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