Thread (3 messages) 3 messages, 3 authors, 2003-09-25

Re: Problem with radeon new ROM probe code

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-09-25 13:42:23

Possibly related (same subject, not in this thread)

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.
Yup, "Mac" cards can contain in theory both OF and x86 BIOS drivers, though
I yet have to find a vendor doing that....

Thanks for the pointers to code, I'll dig that out.

Regards,
Ben.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help