On 10/24/07, Timur Tabi <[EMAIL PROTECTED]> wrote: > Jon Smirl wrote: > > > It makes sense to me, there needs to be some way to trigger loading > > the fabric driver. > > Well, you only really two have choices: > > 1) Probe on the AC97/SSI nodes > 2) When the driver initializes, just scan all the nodes in the device tree (no > probing). > > I think option #2 makes the most sense, because option #1 says that your > fabric > driver is really an AC97 driver, which it isn't.
If you need to scan the tree, don't do it when the driver registers, do it in the platform code instead. Otherwise you unconditionally incur the penalty of scanning the whole device tree on every system that loads the driver, regardless of whether or not the device is present. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [EMAIL PROTECTED] (403) 399-0195 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev