Re: Exporting PCI ROMs via syfs

From: Greg KH
Date: Fri May 21 2004 - 19:20:02 EST


On Thu, May 20, 2004 at 06:05:10PM -0700, Jon Smirl wrote:
> 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?

No class_simple stuff, what about just the sysfs code for the pci device
itself? Like where we export the config info today?

And yes, it sounds like we need a quirks file to keep some cards from
doing bad things.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/