[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XenPPC] device discovery for dart, open pic, uart etc



In addition Jimi and I have a bit of disagreement over the location of the property #size-cells. Jimi believes that the absence of this property should indicate that one is to look further up the tree, whereas I think that the absence of this property should indicate that it reverts to its default value of 1.

You are right here; #size-cells defaults to 1 if the property is absent from
your parent node.  Similar for #address-cells, but that defaults to 2.

There is additional complication that for the property 'reg' the #size-cells of interest is one slot up the tree and for the property 'ranges' it is not.

And for "ranges", it defaults to 1 if the property is absent from _this_ node.


Segher


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.