]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/pci.h
cxl: Rename caps to be device caps
[pciutils.git] / lib / pci.h
index 3f9151173b862c9338558f6e75a6d477850ce96c..eeb4a55cb18db40c0bafd9babaa4a9454f357779 100644 (file)
--- a/lib/pci.h
+++ b/lib/pci.h
@@ -16,7 +16,7 @@
 #include "header.h"
 #include "types.h"
 
-#define PCI_LIB_VERSION 0x030700
+#define PCI_LIB_VERSION 0x030800
 
 #ifndef PCI_ABI
 #define PCI_ABI
@@ -246,8 +246,11 @@ struct pci_cap *pci_find_cap_nr(struct pci_dev *, unsigned int id, unsigned int
 
 struct pci_filter {
   int domain, bus, slot, func;                 /* -1 = ANY */
-  int vendor, device, device_class;
-  int rfu[3];
+  int vendor, device;
+  int device_class;
+  unsigned int device_class_mask;              /* Which bits of the device_class are compared, default=all */
+  int prog_if;
+  int rfu[1];
 };
 
 void pci_filter_init(struct pci_access *, struct pci_filter *) PCI_ABI;