Re: Exporting PCI ROMs via syfs

From: Valdis . Kletnieks
Date: Fri May 21 2004 - 18:58:18 EST


On Thu, 20 May 2004 18:05:10 PDT, Jon Smirl <jonsmirl@xxxxxxxxx> said:
> GregKH has suggested that a good interface for accessing the contents of PCI
> ROMs from user space would be to make them available from sysfs. What would be a
> good way to structure the code for doing this? Should this be part of the pci
> driver, and how would this interface into class_simple to make the attribute
> appear?

Hmm... how do you make that fit with the "one file, one value" rule for sysfs?
Have the "one value" be a nnnK binary blob representing the ROM image?

Attachment: pgp00000.pgp
Description: PGP signature