> Of course, looking at the device tree, rapidio is a device, not a bus,
> because it does not have a device_type and it does not have any
> children
> of its own.
It's a device _of course_, but it's also a bus parent, since
it has a "#address-cells" not equal to zero (and, if this used
real OF,
On Thursday 28 June 2007, Zhang Wei-r63237 wrote:
> > > +static __init int mpc86xx_of_device_init(void)
> > > +{
> > > + return of_platform_bus_probe(NULL, mpc86xx_of_ids, NULL);
> > > +}
> >
> > This will add any devices below the "fsl,rapidio-delta" device
> > as an of_device. Is that what
Hi, Arnd,
>
> On Wednesday 27 June 2007, Zhang Wei wrote:
> > +static struct of_device_id mpc86xx_of_ids[] = {
> > + { .type = "soc", },
> > + { .compatible = "fsl,rapidio-delta", },
> > + {},
> > +};
> > +
> > +static __init int mpc86xx_of_device_init(void)
> > +{
> > +