diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-16 01:30:48 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-16 01:30:48 +0000 |
commit | b79140252ae001fb1459010661b2ea8db912fc4c (patch) | |
tree | a1ae8fe1136cb4e2d406477fb5c3e5a758801c0d /jedec.c | |
parent | 6ca891fa724407aad3a1ece0957a41686619f1e9 (diff) | |
download | flashrom-b79140252ae001fb1459010661b2ea8db912fc4c.zip flashrom-b79140252ae001fb1459010661b2ea8db912fc4c.tar.gz |
Older libpci versions (
E.g. 2.2.8, as it's default on current FreeBSD 7.2)
don't properly fill the base_addr[0] struct member, so revert back to
an explicit pci_read_long() call, otherwise detection of PCI devices and
their base address will fail with strange error messages.
Thanks Idwer Vollering <vidwer@gmail.com> for reporting and testing.
Corresponding to flashrom svn r518.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'jedec.c')
0 files changed, 0 insertions, 0 deletions