]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/pci.h
libpci: ecam: Fix detect sequence when addresses are not specified
[pciutils.git] / lib / pci.h
index d309cbba6bc3c87f317b8da3cb62dee09ec108ea..dbdb02fcfd2d719a008596d43789a83cb75757cc 100644 (file)
--- a/lib/pci.h
+++ b/lib/pci.h
@@ -17,7 +17,6 @@
 
 #include "header.h"
 #include "types.h"
-#include "bitops.h"
 
 #define PCI_LIB_VERSION 0x030a00
 
@@ -82,8 +81,9 @@ struct pci_access {
   struct pci_param *params;
   struct id_entry **id_hash;           /* names.c */
   struct id_bucket *current_id_bucket;
-  int id_load_failed;
+  int id_load_attempted;
   int id_cache_status;                 /* 0=not read, 1=read, 2=dirty */
+  char *id_cache_name;
   struct udev *id_udev;                        /* names-hwdb.c */
   struct udev_hwdb *id_udev_hwdb;
   int fd;                              /* proc/sys: fd for config space */