linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* bootwrapper: relative finddevice()
@ 2007-10-08 21:24 Scott Wood
  2007-10-10  5:47 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Wood @ 2007-10-08 21:24 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org list

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?

-Scott

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bootwrapper: relative finddevice()
  2007-10-08 21:24 bootwrapper: relative finddevice() Scott Wood
@ 2007-10-10  5:47 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2007-10-10  5:47 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev@ozlabs.org list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-10  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 21:24 bootwrapper: relative finddevice() Scott Wood
2007-10-10  5:47 ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).