From: Martin Mares <mj@ucw.cz>
To: Jon Smirl <jonsmirl@yahoo.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Exporting PCI ROMs via syfs
Date: Sat, 22 May 2004 23:24:10 +0200 [thread overview]
Message-ID: <20040522212410.GA2641@ucw.cz> (raw)
In-Reply-To: <20040521010510.84867.qmail@web14928.mail.yahoo.com>
Hello!
> 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.
The PCI specs explicitly allow the cards to use a single address decoder for
both the ROM address and one of the BARs and there really are cards which make
use of this silliness.
Probably the only reasonable way how to do that reliably is to make a copy of
the ROM before the device is enabled.
OTOH, it might be sensible to add a sysfs-based interface for reading the ROMs
which would be available only to root and which would work only on cards
without the shared decoders :-)
Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
To avoid bugs in your room, just keep Windows closed.
prev parent reply other threads:[~2004-05-22 21:24 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
2004-05-21 23:48 ` Greg KH
2004-05-22 3:20 ` Jon Smirl
2004-05-22 21:24 ` Martin Mares [this message]
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=20040522212410.GA2641@ucw.cz \
--to=mj@ucw.cz \
--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