From: David Woodhouse <dwmw2@infradead.org>
To: Xavier DEBREUIL <xde@inventel.fr>
Cc: linux-mtd@lists.infradead.org
Subject: Re: use of low level driver
Date: Tue, 19 Jun 2001 09:40:15 +0100 [thread overview]
Message-ID: <24709.992940015@redhat.com> (raw)
In-Reply-To: <3B2F0D7C.AEB02B3E@inventel.fr>
xde@inventel.fr said:
> But, if I want to call do_map_probe("cfi" or "cfi_intel",...), I need
> to have registered the corresponding mtd chip driver. But when it is
> part of the kernel (not a module), "mod_init_t cfi_intelext_init(void)"
> is not called in kernel initialisation ? (correct?)
The Intel command set code is a back end only. It doesn't have any code for
probing the chips, and should be invoked only from a driver which can do
so. At the moment, the only driver which can do that is the CFI probe. If
you want to use the cfi_cmdset_0001 code with non-CFI chips, you need to
write your own probe code which will identify the chip, set up a dummy cfi
structure, and swap the chip driver operations with the cfi_cmdset_0001
back end as the cfi_probe code does.
--
dwmw2
prev parent reply other threads:[~2001-06-19 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-19 8:29 use of low level driver Xavier DEBREUIL
2001-06-19 8:40 ` David Woodhouse [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=24709.992940015@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=xde@inventel.fr \
/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.