Thread (28 messages) flat view 28 messages, 5 authors, 2007-05-05

Re: powerpc_flash_init(), wtf!?

From: Segher Boessenkool <hidden>
Date: 2007-05-03 17:26:02

quoted
quoted
    BTW, is it legal/appropriate to specify device (not bus) types 
for
of_platform_bus_probe()?
quoted
In almost all cases you should probe on "name"/"compatible",
   Probing on name is not a good idea, since those are mostly generic.
The OF standard tells you to probe on "name" before
probing on "compatible".  If the "name" in a certain
node is generic, that doesn't harm at all, since you
probe for the more specific names only.
quoted
and not use "device_type" at all.
   Heh, SPARC device trees I saw seem to not have this "useless" prop 
at all. :-)
Well they have it in the nodes for which they _should_
have it, but not anywhere else no.


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