[RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

Paul Mackerras paulus at samba.org
Wed Aug 6 20:21:04 EST 2008


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.



More information about the Linuxppc-dev mailing list