2010/5/14 Stefan Reinauer stefan.reinauer@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).