Thread (20 messages) flat view 20 messages, 9 authors, 2007-07-11

Re: [PATCH 2/2] [POWERPC] mmio ide support for mpc8349-itx target

From: Segher Boessenkool <hidden>
Date: 2007-07-08 13:32:17
Also in: linuxppc-dev, lkml

quoted
+		ide@10000000 {
+ 			#interrupt-cells = <2>;
    Hm, why define that prop for a node with no children?
quoted
+ 			interrupts = <17 8>;
+ 			interrupt-map = <0 0 0 1 700 17 8>;
+ 			interrupt-map-mask = <0>;
This map-mask makes no sense either.  And neither does
the map itself.
quoted
+
+ 			#size-cells = <1>;
+ 			#address-cells = <1>;
    Same question here.
The ide node might want children, namely disks or optical
drives or such, but #size-cells should be 0.
quoted
+ 			reg = <10000000 10 10000200 10>;
+
+ 			device_type = "ide";
    I think that already adopted device type is "ata", not "ide".
"ata" is not a hardware thing, "ide" is.  Or so I'm told.
I'd leave out the "device_type" completely though, certainly
if you can't point me at a published device binding :-)


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help