Hi Denis,
Am 26.06.2012 01:53 schrieb Denis 'GNUtoo' Carikli:
# ./flashrom -p gfxnvidia -VVV flashrom v0.9.5.2-r1546 on Linux 3.0.0-19-generic-pae (i686) flashrom was built with libpci 3.1.7, GCC 4.6.1, little endian Command line (3 args): ./flashrom -p gfxnvidia -VVV Calibrating delay loop... OK. Initializing gfxnvidia programmer Found "NVIDIA RIVA TNT2 Ultra" (168c:0029, BDF 03:06.0). [...]
This should not have happened. Apparently the PCI code (either in flashrom, or libpci) ignores the vendor, and only matches the device in this case.
Ah yes. pcidev.c:pcidev_validate() only checks device_id match, not vendor_id match. Ouch!
Thanks for reporting this bug!
# lspci -n [...] 03:06.0 0280: 168c:0029 (rev 01)
# lspci [...] 03:06.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
Can you confirm that no Nvidia card is in that machine? I want to make 100% sure that there are not two PCI cards fighting with each other.
Regards, Carl-Daniel