dynamic addition of OF property to /proc/device-tree

Dave Hansen haveblue at us.ibm.com
Sat Aug 28 02:43:47 EST 2004


On Fri, 2004-08-27 at 08:46, Joel Schopp wrote:
> John Rose wrote:
> > In /proc/device-tree, i need to add a property (as opposed to a node)
> > dynamically.  Should I use the existing remove/add_node_dynamic
> > functions to remove and re-add the parent node of the new property, or
> > write up a new dynamic property add/remove?  This is for the creation of
> > the linux,pci-domain property for newly added PHBs.  Thoughts?
> >
> >Sometime last year Nathan Lynch had written an implementation of dynamic
> property add/remove code.  He'd be a great person to ask.
>
> We ended up deciding it was cleaner/nicer to use sysfs instead, you
> might consider this as well.

Is this a good time to talk Martin into updating his tools to lookup the
pci domain somewhere other than /proc/device-tree?

(not sure which Martin I'm referring to see:
http://ozlabs.org/ppc64-patches/patch.pl?id=184)

-- Dave


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list