From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18585.31504.836857.829592@cargo.ozlabs.ibm.com> Date: Wed, 6 Aug 2008 20:21:04 +1000 From: Paul Mackerras To: David Miller Subject: Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function In-Reply-To: <20080805.233205.201125898.davem@davemloft.net> References: <20080806055214.30717.86092.stgit@trillian.secretlab.ca> <20080806060239.30717.79273.stgit@trillian.secretlab.ca> <20080805.233205.201125898.davem@davemloft.net> Cc: miltonm@bga.com, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Miller writes: > On sparc platforms this is obtained differently. We obtain the 32-bit > instance value of "/chosen/stdout" and convert that into a prom device > node path using "instance-to-path". That's actually exactly what we do too, the linux,stdout-path property is just a cache of the result of that process. The difference is that we have to do it early on while we still have OF around, while you can do it later. Paul.