Following up from initial conversation with benh in #ppc64, I did a bit of testing (and then a bit more).
Two PCIe cards for my testing: a) sata_sil24 eSATA (x86 BIOS) b) ATI X700 graphics (x86 BIOS) I put the card into an amd64 box, found the relevant 'rom' node ($ROM) under /sys/device/pci*, and dumped it as follows: # echo 1>$ROM # cat $ROM >/tmp/dump # echo 0>$ROM On amd64, this produced the ROM for the cards fine (contained recognizable strings). I then repeated the same on my G5 (PM11,2), while the $ROM files have a non-zero size in sysfs (that corresponds to the size shown by lspci -vv), reading them always results in a 0-byte output. Is the PPC kernel broken? Does something in the PPC architecture forbid this? Instructions to muck with PCI code welcome. This was under 2.6.24_rc3-git1, kernel .config available if needed. Why am I trying to access the PCI ROM? To make my newer X1900 card work under at least one of the newer (ati,radeonhd,avivo) drivers, that all try to access the ATI AtomBIOS for varying data. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : [EMAIL PROTECTED] GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
pgpHxeypjr2ZP.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev