lkml.org 
[lkml]   [2007]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRE: [PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.
    Date
    From
    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)
    > > +{
    > > +       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 you actually want? I would guess that
    > you want to add the bridge itself, not the devices below it.
    >
    > Is the rapidio device at the root of the device tree, and if so, why
    > not under the soc bus?
    >

    RapidIO is rather a bus that a device although these is no other nodes defined in its sector now.

    Thanks!
    Wei.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-28 08:45    [W:3.417 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site