summaryrefslogtreecommitdiffstats
path: root/driver/pciDriver.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-02 02:26:24 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-02 02:26:24 +0100
commita5da7db50d02878b6d9c844b18d0d3f8ccf6c62b (patch)
tree644c89545b12c269b479010f9ef18f1b8921af78 /driver/pciDriver.h
parentd85316d3201bfda47efae12ff824ecf68835020e (diff)
downloadpcitool-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.h3
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;