From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 10 Oct 2007 15:47:51 +1000 From: David Gibson To: Scott Wood Subject: Re: bootwrapper: relative finddevice() Message-ID: <20071010054751.GH32426@localhost.localdomain> References: <470AA012.9080401@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <470AA012.9080401@freescale.com> Cc: "linuxppc-dev@ozlabs.org list" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Oct 08, 2007 at 04:24:34PM -0500, Scott Wood wrote: > I'd like to expose flatdevtree's ability to do relative path lookups in > ops, and I'd prefer to extend the existing finddevice method rather than > add a new finddevice_rel. However, I'm not very familiar with real OF > -- how would one go about fixing its implementation? Well, it should be possible to do package-to-path on the start node, join the paths then finddevice on the result. I'm not sure if there's an easier way. -- 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