From: Tim Hockin <thockin@sun.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: module names in request_module()
Date: Fri, 13 Jul 2001 11:15:22 -0700 [thread overview]
Message-ID: <3B4F3ABA.2EFCAB42@sun.com> (raw)
In-Reply-To: 24251.995007133@redhat.com
David Woodhouse wrote:
>
> thockin@sun.com said:
> > if I depmod a module that needs cfi and cfi_probe is not loaded,
> > request_module fails, because it is looking for the module named "cfi"
> > not "cfi_probe".
>
> Does v1.9 of chipreg.c fix it correctly?
only for cfi
the problem is that the module name is not predictable from the "probe"
name.
cfi -> cfi_probe.o
jedec -> jedec.o
ram -> map_ram.o
rom -> map_rom.o
amd_flash -> amd_flash.o
there is no way to have that knowledge a priori with modules.
So we have three options:
1) rename files to match their probe names
2) rename probe names to match module names
3) use modules.conf to give external fixes for internal flaws
I'm leaning towards #2. Comments?
--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@sun.com
next prev parent reply other threads:[~2001-07-13 18:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-13 1:36 module names in request_module() Tim Hockin
2001-07-13 6:52 ` David Woodhouse
2001-07-13 18:15 ` Tim Hockin [this message]
2001-07-13 18:17 ` David Woodhouse
2001-07-14 1:07 ` Tim Hockin
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=3B4F3ABA.2EFCAB42@sun.com \
--to=thockin@sun.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.