Thread (6 messages) flat view 6 messages, 2 authors, 2002-01-22

Re: ide-pmac module-ation

From: Joseph P. Garcia <hidden>
Date: 2002-01-22 21:22:01

On Sun, 20 Jan 2002 22:02:34 +0100
Benjamin Herrenschmidt [off-list ref] 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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help