[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HOWTO: m3mirror & recent 2.6 kernels



Hi List, Julien,

Thanks for the suggestion how to do it. I'd like to ask 2 questions in advance before i recompile my kernel here:

Julien BLACHE wrote:
Hi,

For those of you still relying on m3mirror for slideshows, here's
how to make it work with a modern 2.6 kernel.

Edit arch/powerpc/kernel/prom_init.c, then, in prom_check_displays()

isn't it:
prom_num_displays()
in:
/usr/src/linux/arch/ppc/syslib/prom_init.c?

add a break; statement at the very end of the for() loop.

So this snippet:

        for (i = 0; i < prom_num_displays; ++i)
                prom_display_paths[i] = PTRUNRELOC(prom_display_paths[i]);

would become:

        for (i = 0; i < prom_num_displays; ++i)
prom_display_paths[i] = PTRUNRELOC(prom_display_paths[i])break;

right?
This is on a debian 2.6.14 kernel, sources from kernel.org.

Oh, i am looking forward to give my talk on saturday on my box here with m3mirror working!
Thanks a lot for this great help!


regards,

Peter



Reply to: