ide-pmac module-ation
Joseph P. Garcia
jpgarcia at execpc.com
Wed Jan 23 08:22:01 EST 2002
On Sun, 20 Jan 2002 22:02:34 +0100
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> Also, doing it from within ide-pmac will probably help toward making
> ide-pmac moduleable ;)
Ok. I see that now. My bad. There is new structure in BK devel's asm/ide.h called ppc_ide_md that has all these things. platforms/pmac_setup.c sets the functions that it defines itself. So in following that, ide_pmac.c should do that in an init or probe call (and clear it in mod_cleanup when that is implemented).
add a 'ppc_ide_md.ide_init_hwif=pmac_ide_init_hwif_ports' at the end of the probe in ide-pmac.c and hotswap works again.
--
Joseph P. Garcia
http://www.lycestra.com/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list