]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
Updated fixed-version references to pci_fill_info
authorMartin Mares <mj@ucw.cz>
Mon, 14 Sep 2015 15:24:29 +0000 (17:24 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 14 Sep 2015 15:24:29 +0000 (17:24 +0200)
lib/caps.c
lib/filter.c

index 4cf9ad8ec33f191c5939394aee6adebffcd5be6d..a812fb9554020840981f72947f42ddb77cef99fc 100644 (file)
@@ -106,7 +106,7 @@ pci_find_cap(struct pci_dev *d, unsigned int id, unsigned int type)
 {
   struct pci_cap *c;
 
-  pci_fill_info_v33(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS));
+  pci_fill_info_v34(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;
index 375293a7ae3bd8cd9b568fe41d69ef333fed7048..d4254a02383bd5aae3902eb610f647aafdee5e14 100644 (file)
@@ -129,7 +129,7 @@ pci_filter_match_v33(struct pci_filter *f, struct pci_dev *d)
     return 0;
   if (f->device >= 0 || f->vendor >= 0)
     {
-      pci_fill_info_v33(d, PCI_FILL_IDENT);
+      pci_fill_info_v34(d, PCI_FILL_IDENT);
       if ((f->device >= 0 && f->device != d->device_id) ||
          (f->vendor >= 0 && f->vendor != d->vendor_id))
        return 0;