* do_map_probe and driver name
@ 2005-05-16 2:46 Munira Ahmed
2005-05-16 12:55 ` Ralph Siemsen
0 siblings, 1 reply; 3+ messages in thread
From: Munira Ahmed @ 2005-05-16 2:46 UTC (permalink / raw)
To: linux-mtd@lists.infradead.org
do_map_probe requires name of a driver to probe.
Now how do I know the names of mtd drivers to see if I have them or not
How do I find out which driver is currently active
is there any list of all or some driver names.
Regards
--
Munira Ahmed
Senior Embedded Specialist
Radixs Pte Ltd
Email:munira.ahmed@radixs.com
Main: +65 6335 8600
Fax: +65 6335 8601
URL: www.radixs.com
1 Temasek Avenue, #21-01, Millenia Tower, Singapore 039192
Disclaimer Notice: This email, its content and any files transmitted
with it are intended solely for the addressee(s) and may be confidential
and privileged. Any unauthorised disclosure or use or dissemination of
the information contained herein, either whole or partial, is
prohibited. Radixs Pte Ltd (Radixs) cannot accept liability for any
statements made which are clearly the sender's own and not expressly
made on behalf of Radixs or one of its agents. If you have received this
message in error, please notify the sender immediately, and delete this
email from your computer system. Radixs has taken reasonable precaution
to ensure no viruses are present in this email, however Radixs does not
accept responsibility for any loss or damage arising from the use of
this email or attachments.
Co. Reg. 200104892Z
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: do_map_probe and driver name
2005-05-16 2:46 do_map_probe and driver name Munira Ahmed
@ 2005-05-16 12:55 ` Ralph Siemsen
2005-05-17 1:33 ` Munira Ahmed
0 siblings, 1 reply; 3+ messages in thread
From: Ralph Siemsen @ 2005-05-16 12:55 UTC (permalink / raw)
To: Munira Ahmed; +Cc: linux-mtd@lists.infradead.org
Please don't post the same message to multiple mailing lists.
Munira Ahmed wrote:
> do_map_probe requires name of a driver to probe.
> Now how do I know the names of mtd drivers to see if I have them or not
> How do I find out which driver is currently active
> is there any list of all or some driver names.
The answer can be found easily by searching for calls to do_map_probe in
the kernel/drivers/mtd subdirectories. For example in physmap.c:
static const char *rom_probe_types[] = {
"cfi_probe", "jedec_probe", "map_rom", NULL
};
const char **type = rom_probe_types;
for(; !mymtd && *type; type++) {
mymtd = do_map_probe(*type, &physmap_map);
}
So you can ee it is called with names like "cfi_probe" etc. These
functions are defined drivers/mtd/chips directory. So take a look at
the files in that directory to discover the names you seek.
-R
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: do_map_probe and driver name
2005-05-16 12:55 ` Ralph Siemsen
@ 2005-05-17 1:33 ` Munira Ahmed
0 siblings, 0 replies; 3+ messages in thread
From: Munira Ahmed @ 2005-05-17 1:33 UTC (permalink / raw)
To: Ralph Siemsen; +Cc: linux-mtd@lists.infradead.org
what's wrong in posting the same question to two different lists?
I just wanted to be able to reach more people.
Thanks for your guidance. I will keep that in mind now on.
On Mon, 2005-05-16 at 08:55 -0400, Ralph Siemsen wrote:
> Please don't post the same message to multiple mailing lists.
>
> Munira Ahmed wrote:
> > do_map_probe requires name of a driver to probe.
> > Now how do I know the names of mtd drivers to see if I have them or not
> > How do I find out which driver is currently active
> > is there any list of all or some driver names.
>
> The answer can be found easily by searching for calls to do_map_probe in
> the kernel/drivers/mtd subdirectories. For example in physmap.c:
>
> static const char *rom_probe_types[] = {
> "cfi_probe", "jedec_probe", "map_rom", NULL
> };
> const char **type = rom_probe_types;
>
> for(; !mymtd && *type; type++) {
> mymtd = do_map_probe(*type, &physmap_map);
> }
>
> So you can ee it is called with names like "cfi_probe" etc. These
> functions are defined drivers/mtd/chips directory. So take a look at
> the files in that directory to discover the names you seek.
>
> -R
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
--
Munira Ahmed
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-17 1:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-16 2:46 do_map_probe and driver name Munira Ahmed
2005-05-16 12:55 ` Ralph Siemsen
2005-05-17 1:33 ` Munira Ahmed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox