summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index 43de485..172a6fc 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -46,9 +46,11 @@ typedef struct {
struct pcilib_s {
int handle; /**< file handle of device */
-
- uintptr_t page_mask; /**< Selects bits which define offset within the page */
+
pcilib_driver_version_t driver_version; /**< Version reported by the driver */
+
+ uintptr_t page_mask; /**< Selects bits which define offset within the page */
+ int board_info_ready; /**< Flag indicating if board info is already requested and populated */
pcilib_board_info_t board_info; /**< The mandatory information about board as defined by PCI specification */
pcilib_pcie_link_info_t link_info; /**< Infomation about PCIe connection */
char *bar_space[PCILIB_MAX_BARS]; /**< Pointers to the mapped BARs in virtual address space */