From: Greg KH <greg@kroah.com>
To: Valdis.Kletnieks@vt.edu
Cc: Jon Smirl <jonsmirl@yahoo.com>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Exporting PCI ROMs via syfs
Date: Fri, 21 May 2004 19:56:23 -0700 [thread overview]
Message-ID: <20040522025623.GA15224@kroah.com> (raw)
In-Reply-To: <200405212338.i4LNcV8Z007967@turing-police.cc.vt.edu>
On Fri, May 21, 2004 at 07:38:31PM -0400, Valdis.Kletnieks@vt.edu wrote:
> On Thu, 20 May 2004 18:05:10 PDT, Jon Smirl <jonsmirl@yahoo.com> 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?
Exactly, just like the pci "config" file is in sysfs today.
thanks,
greg k-h
next prev parent reply other threads:[~2004-05-22 2:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=20040522025623.GA15224@kroah.com \
--to=greg@kroah.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=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