[PATCH 1/3 v3] Add StorCenter DTS first draft.

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jan 23 11:33:16 EST 2008


> > +
> > +               mpic: interrupt-controller at 40000 {
> > +                       #interrupt-cells = <2>;
> > +                       #address-cells = <0>;
> 
> Is #address-cells needed?  There are no child nodes.

It's preferrable for interrupt controllers as #address-cells of the
parent interrupt controller defines the size of the interrupt unit
specifier in the child in the interrupt tree.

I think there's an ongoing argument as to whether the absence of
#address-cells should be the same as #address-cells = 0 in that specific
case but I'm not sure the code does the right thing so let's have it
explicit.

Ben.




More information about the Linuxppc-dev mailing list