From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by ozlabs.org (Postfix) with ESMTP id 237CBDE0E9 for ; Wed, 6 Aug 2008 16:35:25 +1000 (EST) Received: by an-out-0708.google.com with SMTP id c34so549366anc.78 for ; Tue, 05 Aug 2008 23:35:24 -0700 (PDT) Message-ID: Date: Wed, 6 Aug 2008 00:35:24 -0600 From: "Grant Likely" Sender: glikely@secretlab.ca 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> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Aug 6, 2008 at 12:32 AM, David Miller wrote: > From: Grant Likely > Date: Wed, 06 Aug 2008 00:02:44 -0600 > >> of_lookup_stdout() is useful for figuring out what device to use as output >> for early boot progress messages. It returns the node pointed to by the >> linux,stdout-path property in the chosen node. >> >> Signed-off-by: Grant Likely > > 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". How about if I modify it to try both methods? g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.