Re: [PATCH] Open Firmware device tree virtual filesystem
From: David Miller
Date: Tue Jan 02 2007 - 17:08:08 EST
From: Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Jan 2007 22:37:32 +0100
> Leaving aside the issue of in-memory or not, I don't think
> it is realistic to think any completely common implementation
> will work for this -- it might for current SPARC+PowerPC+OLPC,
> but more stuff will be added over time...
I see nothing supporting this IMHO bogus claim.
If you can traverse the device tree using OFW calls, you
can do it to build the in-kernel copy of the tree too.
How the tree is populated, etc., is not an issue for the
common code, for sure. Each platform does that in whatever
way is appropriate.
But the tree traversal, getting property values, etc. is indeed
a task for the common code and that is exactly what Ben is
suggesting.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/