summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2015-09-14 17:24:29 +0200
committerMartin Mares <mj@ucw.cz>2015-09-14 17:24:29 +0200
commit3218af50dd165c6f3740e15fc4f28ff57ab4251a (patch)
treebf7776ed988f715020e3cdcc78b7436efd8807b9
parent7ef7f3ec9830ebc3266da7d7bce1fe86ba04032a (diff)
downloadpciutils-3218af50dd165c6f3740e15fc4f28ff57ab4251a.tar.gz
Updated fixed-version references to pci_fill_info
-rw-r--r--lib/caps.c2
-rw-r--r--lib/filter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/caps.c b/lib/caps.c
index 4cf9ad8..a812fb9 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_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;
diff --git a/lib/filter.c b/lib/filter.c
index 375293a..d4254a0 100644
--- a/lib/filter.c
+++ b/lib/filter.c
@@ -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;