On Tue, 21 Oct 2008, Scott Wood wrote:

> On Mon, Oct 20, 2008 at 12:28:09AM +0200, Guennadi Liakhovetski wrote:
> > On Sun, 19 Oct 2008, Jon Smirl wrote:
> > > That should match:
> > > 
> > >           [EMAIL PROTECTED] {
> > >                   #address-cells = <1>;
> > >                   #size-cells = <0>;
> > >                   cell-index = <0>;
> > >                   compatible = "fsl-i2c";
> > >                   reg = <0x80003000 0x1000>;
> > >                   interrupts = <5 2>;
> > >                   interrupt-parent = <&mpic>;
> > > 
> > >                   [EMAIL PROTECTED] {
> > >                           device_type = "rtc";
> > >                           compatible = "ricoh,rs5c372a";
> > >                           reg = <0x32>;
> > >                   };
> > >           };
> > 
> > It should, but it doesn't.
> 
> Is the parent of the i2c node covered by the list passed to
> of_platform_bus_probe() on this board?

You mean something like this:

static __initdata struct of_device_id storcenter_of_bus[] = {
        { .name = "soc", },
        {},
};

static int __init storcenter_device_probe(void)
{
        of_platform_bus_probe(NULL, storcenter_of_bus, NULL);
        return 0;
}
machine_device_initcall(storcenter, storcenter_device_probe);

? No, linkstation doesn't do that. Somehow, as this API has been 
introduced, linkstation has been left aside:-(

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to