[flashrom] [PATCH] Support old libpci <2.2.4

Peter Lemenkov lemenkov at gmail.com
Fri May 14 11:51:32 CEST 2010


2010/5/14 Stefan Reinauer <stefan.reinauer at coresystems.de>:
> On 5/14/10 4:00 AM, Carl-Daniel Hailfinger wrote:
>> libpci < 2.2.4 can not store class info in struct pci_dev.
>> Read class info manually and store it in a separate variable.

> Wouldn't it make more sense to ask people to update their libpci?
> pciutils 2.2.3 is more than 4 years old.

It can be very hard - for example in so-called 'enterprise'
distributions, which claims  API/ABI compatibility as its key feature.
Thus sometimes it takes a lot of time to convince maintainer(s) to
update package even in case of a minor version upgrade (especially
then no bugs were filed against old version of package).

-- 
With best regards, Peter Lemenkov.




More information about the flashrom mailing list