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

John Rose johnrose at austin.ibm.com
Sat Aug 28 03:45:37 EST 2004


On Fri, 2004-08-27 at 11:43, Dave Hansen wrote:
> 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?

Yes, Martin, how about that? :)

John


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





More information about the Linuxppc64-dev mailing list