From: Jon Smirl <jonsmirl@yahoo.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Exporting PCI ROMs via syfs
Date: Thu, 20 May 2004 18:05:10 -0700 (PDT) [thread overview]
Message-ID: <20040521010510.84867.qmail@web14928.mail.yahoo.com> (raw)
[-- 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
next reply other threads:[~2004-05-21 23:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 1:05 Jon Smirl [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040521010510.84867.qmail@web14928.mail.yahoo.com \
--to=jonsmirl@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®