summaryrefslogtreecommitdiffstats
path: root/pcilib.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-21 03:44:27 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-21 03:44:27 +0200
commit32bd82e4b4748cbe7b4734030dfb135feab4dffc (patch)
tree5a4a6c77d2f51f4d8e9081961b31bb6b53c64948 /pcilib.h
parentb407c19d68509af786ed13fb22e66bebbf73c0d8 (diff)
downloadpcitool-32bd82e4b4748cbe7b4734030dfb135feab4dffc.tar.gz
pcitool-32bd82e4b4748cbe7b4734030dfb135feab4dffc.tar.bz2
pcitool-32bd82e4b4748cbe7b4734030dfb135feab4dffc.tar.xz
pcitool-32bd82e4b4748cbe7b4734030dfb135feab4dffc.zip
Accept short addresses for IPECamera FPGA registers
Diffstat (limited to 'pcilib.h')
-rw-r--r--pcilib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcilib.h b/pcilib.h
index e1cd7dc..9ce1a88 100644
--- a/pcilib.h
+++ b/pcilib.h
@@ -146,7 +146,8 @@ typedef struct {
typedef struct {
uintptr_t start;
uintptr_t end;
- pcilib_register_bank_t bank;
+ pcilib_register_bank_addr_t bank;
+ long addr_shift;
} pcilib_register_range_t;
typedef struct {