public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Exporting PCI ROMs via syfs
@ 2004-05-21  1:05 Jon Smirl
  2004-05-21 23:38 ` Valdis.Kletnieks
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jon Smirl @ 2004-05-21  1:05 UTC (permalink / raw)
  To: lkml

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 963 bytes --]

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?

Some problems:
Radeon cards need a work around sometimes to enable their ROM. But this can be
run once when the driver loads.
There is one card that can't access the ROM and function at the same time, I
believe Alan Cox know which one it is.

Would it be possible for this to be an automatic function of class_simple with
an API for setting a pre-enable callback? The callback would only be used for
cards with bugs like the radeon and Alan's card.

=====
Jon Smirl
jonsmirl@yahoo.com


	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

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

end of thread, other threads:[~2004-05-22 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21  1:05 Exporting PCI ROMs via syfs Jon Smirl
2004-05-21 23:38 ` Valdis.Kletnieks
2004-05-22  2:56   ` Greg KH
2004-05-21 23:48 ` Greg KH
2004-05-22  3:20   ` Jon Smirl
2004-05-22 21:24 ` Martin Mares

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