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

Joel Schopp jschopp at austin.ibm.com
Sat Aug 28 01:46:21 EST 2004

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.


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?
> Thanks-
> John

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

More information about the Linuxppc64-dev mailing list