From: "Joseph P. Garcia" <jpgarcia@execpc.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: ide-pmac module-ation
Date: Tue, 22 Jan 2002 15:22:01 -0600 [thread overview]
Message-ID: <20020122152201.2ffd9da1.jpgarcia@execpc.com> (raw)
In-Reply-To: <20020120210234.19509@smtp.wanadoo.fr>
On Sun, 20 Jan 2002 22:02:34 +0100
Benjamin Herrenschmidt <benh@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/
prev parent reply other threads:[~2002-01-22 21:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-20 19:48 mediabay hotswap, tun naming patches (2.4) Joseph P. Garcia
2002-01-20 20:13 ` Benjamin Herrenschmidt
2002-01-20 20:21 ` Benjamin Herrenschmidt
2002-01-20 20:39 ` Joseph P. Garcia
2002-01-20 21:02 ` Benjamin Herrenschmidt
2002-01-22 21:22 ` Joseph P. Garcia [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020122152201.2ffd9da1.jpgarcia@execpc.com \
--to=jpgarcia@execpc.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).