From: Stefan Reinauer <stepan@suse.de>
To: Sven Luther <sven.luther@wanadoo.fr>
Cc: Jon Smirl <jonsmirl@yahoo.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Michel DXnzer <michel@daenzer.net>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Problem with radeon new ROM probe code
Date: Thu, 25 Sep 2003 14:10:25 +0200 [thread overview]
Message-ID: <20030925121025.GA30733@suse.de> (raw)
In-Reply-To: <20030925053916.GA2068@iliana>
* Sven Luther <sven.luther@wanadoo.fr> [030925 07:39]:
> On Wed, Sep 24, 2003 at 11:12:57AM -0700, Jon Smirl wrote:
> > Is the 'Mac' card being used on a x86 machine?
> > I thought the ROM code was compiled out on non-X86 machines.
>
> Notice that not all powerpc boxes are in this case. The pegasos at least
> includes an x86 emulator in the OF which runs the cards bios. I know
> that the amigaone does the same. So testing for powerpc may well not be
> enough for detecting OF cards.
Whether it's an Open Firmware card or not can be read from the PCI
headers stored in the ROM. Check the romheaders utility from OpenBIOS
CVS ( http://www.openbios.org/ )
Look at the code here:
http://cvs.openbios.org/cgi-dom/viewcvs.cgi/utils/romheaders.c?rev=1.2&content-type=text/vnd.viewcvs-markup
The program prints whether the rom is OpenFirmware, x86 or HP PA-Risc.
Note that graphics cards can theoretically contain ROM images for both
x86 and OF in one chip.
Stefan
--
Architecture Team
SuSE Linux AG
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-09-25 12:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-24 12:06 Problem with radeon new ROM probe code Benjamin Herrenschmidt
2003-09-24 15:18 ` Michel Dänzer
2003-09-24 17:44 ` Benjamin Herrenschmidt
[not found] ` <20030924181257.78090.qmail@web14914.mail.yahoo.com>
2003-09-25 5:39 ` Sven Luther
2003-09-25 12:10 ` Stefan Reinauer [this message]
2003-09-25 13:41 ` Benjamin Herrenschmidt
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=20030925121025.GA30733@suse.de \
--to=stepan@suse.de \
--cc=benh@kernel.crashing.org \
--cc=jonsmirl@yahoo.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=michel@daenzer.net \
--cc=sven.luther@wanadoo.fr \
/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;
as well as URLs for NNTP newsgroup(s).