public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* device info in /proc/mtd
@ 2003-04-16 17:25 Thayne Harbaugh
  2003-04-17 12:34 ` John Burch
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thayne Harbaugh @ 2003-04-16 17:25 UTC (permalink / raw)
  To: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

It's nice that loading the amd76xrom module outputs probe information
about a device manufacturer and chip:

[root@172 2466]# modprobe amd76xrom
Found: PMC Pm49FL004
number of JEDEC chips: 1
amd76xrom chip at offset: 480000

I hoped this same information would be in /proc/mtd - it's not.

[root@172 2466]# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00001000 "AMD76X rom"

Is there someplace where the manufacturer and chip are available other
than in the printk() messages?  It would be nice to be able to query
this information at any time - a specific model of motherboard might
socket a different chip depending on cost/availability and I'd like to
be able to track which BIOS flash chip is being used.

Something like this in /proc/mtd might be nice:

dev:    size   erasesize  name       manufacturer chip chip_name
mtd0: 00080000 00001000 "AMD76X rom" 009d         006e "PMC Pm49FL004"

Am I crazey?  Is this plain wrong?  Does anyone have objections if I
submit a patch?

-- 
Thayne Harbaugh
Linux Networx

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-21 11:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-16 17:25 device info in /proc/mtd Thayne Harbaugh
2003-04-17 12:34 ` John Burch
2003-04-17 13:05 ` Holger Schurig
2003-04-21 11:44 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox