diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 02:26:24 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 02:26:24 +0100 |
commit | a5da7db50d02878b6d9c844b18d0d3f8ccf6c62b (patch) | |
tree | 644c89545b12c269b479010f9ef18f1b8921af78 /driver/pciDriver.h | |
parent | d85316d3201bfda47efae12ff824ecf68835020e (diff) | |
download | pcitool-a5da7db50d02878b6d9c844b18d0d3f8ccf6c62b.tar.gz pcitool-a5da7db50d02878b6d9c844b18d0d3f8ccf6c62b.tar.bz2 pcitool-a5da7db50d02878b6d9c844b18d0d3f8ccf6c62b.tar.xz pcitool-a5da7db50d02878b6d9c844b18d0d3f8ccf6c62b.zip |
Distinguish between hardware and bus addresses in pcilib
Diffstat (limited to 'driver/pciDriver.h')
-rw-r--r-- | driver/pciDriver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/pciDriver.h b/driver/pciDriver.h index 5d6221e..371bd88 100644 --- a/driver/pciDriver.h +++ b/driver/pciDriver.h @@ -58,7 +58,7 @@ #include <linux/ioctl.h> -#define PCIDRIVER_INTERFACE_VERSION 1 /**< Driver API version, only the pcilib with the same driver interface version is allowed */ +#define PCIDRIVER_INTERFACE_VERSION 2 /**< Driver API version, only the pcilib with the same driver interface version is allowed */ /* Identifies the PCI-E Xilinx ML605 */ #define PCIE_XILINX_VENDOR_ID 0x10ee @@ -154,6 +154,7 @@ typedef struct { typedef struct { unsigned long type; unsigned long pa; + unsigned long ba; unsigned long size; unsigned long align; unsigned long use; |