On 11/4/06, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Sun, 2006-11-05 at 01:27 +0100, Sylvain Munaut wrote: > > with a helper that would do > > - The find_node > > - get_address / translate / get_size > > - ioremap > > > > Something like : > > > > intr = mpc52xx_find_and_map("mpc52xx-intr"); > > sdma = mpc52xx_find_and_map("mpc52xx-sdma"); > > Hrm... I don't care that much but I also don't think we need that > helper. It's not saving much.
While on this topic... if a helper is added, what about it is 52xx specific? Wouldn't the same code apply to all platforms? g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. [EMAIL PROTECTED] (403) 399-0195 _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded