X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fcaps.c;h=9a2e0a5f1291cf67cf8a1ac136311bae2ccb7d11;hb=b8f7cd649e4f09a0c4f0ac0b89bf2eec2ab60e80;hp=ff4d9c43c97f306a394d9f26ac7ed8b1c18322e4;hpb=d61c47722516d1955c4e7176d738b54a762f9343;p=pciutils.git diff --git a/lib/caps.c b/lib/caps.c index ff4d9c4..9a2e0a5 100644 --- a/lib/caps.c +++ b/lib/caps.c @@ -106,7 +106,7 @@ pci_find_cap(struct pci_dev *d, unsigned int id, unsigned int type) { struct pci_cap *c; - pci_fill_info_v31(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); + pci_fill_info_v35(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); for (c=d->first_cap; c; c=c->next) if (c->type == type && c->id == id) return c;