Proc stuff
Johan Adolfsson
johan.adolfsson at axis.com
Thu Apr 5 10:41:50 EDT 2001
I guess we would like that kind of information available somewhere
as well. Either through /proc or through an ioctl().
We (Axis) have an ioctl() to get that info with our own flash driver
and JFFS available on developer.axis.com (not using mtd).
It is typically used to verify that a certain type of chip is mounted
during production test where boot messages are not even enabled
and not a nice way to get the information for that purpose anyway.
Since mtd is not flash specific, perhaps a generic info string
about the device media could be added?
/Johan
----- Original Message -----
From: David Woodhouse <dwmw2 at infradead.org>
To: <ian.nelson at echostar.com>
Cc: <mtd at infradead.org>
Sent: Thursday, April 05, 2001 14:47
Subject: Re: Proc stuff
>
> ian.nelson at echostar.com said:
> > I need some extra bits added to the proc/mtd. For the product I'm
> > building we want to have things from the flash registers like the
> > Device ID and "AMD flash"
>
> Those aren't particularly generic bits of information - why do you think
> they should be present at that level? That kind of detail is reported in
the
> boot messages, not in /proc/mtd. Does your eth0 device provide a way to
find
> out which chipset it is?
>
> Perhaps we could make the CFI drivers put slightly more informative
> information in the 'name' field, but that doesn't work nicely if you have
> partitions which override the original name.
>
> --
> dwmw2
>
>
>
>
> To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
>
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list