summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-22 17:15:16 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-22 17:15:16 +0200
commit6f10a98d7b7b6e0aa4d68c899d32c6d476747567 (patch)
tree0ff98440dd223d57ac1822b0602516778562a26c
parentad838ab9f70ff9712c256f072e260e03a8d7a7da (diff)
downloadpcitool-6f10a98d7b7b6e0aa4d68c899d32c6d476747567.tar.gz
pcitool-6f10a98d7b7b6e0aa4d68c899d32c6d476747567.tar.bz2
pcitool-6f10a98d7b7b6e0aa4d68c899d32c6d476747567.tar.xz
pcitool-6f10a98d7b7b6e0aa4d68c899d32c6d476747567.zip
Fix the size of the configuration bank
-rw-r--r--pcilib/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/export.c b/pcilib/export.c
index 6ee6a2c..fe5f3d1 100644
--- a/pcilib/export.c
+++ b/pcilib/export.c
@@ -20,7 +20,7 @@ const pcilib_register_protocol_description_t pcilib_standard_register_protocols[
};
const pcilib_register_bank_description_t pcilib_standard_register_banks[] = {
- { PCILIB_REGISTER_BANK_CONF, PCILIB_REGISTER_PROTOCOL_SOFTWARE, PCILIB_BAR_NOBAR, 0, 0, 32, 0, PCILIB_HOST_ENDIAN, PCILIB_HOST_ENDIAN, "%lu", "conf", "pcilib configuration"},
+ { PCILIB_REGISTER_BANK_CONF, PCILIB_REGISTER_PROTOCOL_SOFTWARE, PCILIB_BAR_NOBAR, 0, 0, 32, 0x1000, PCILIB_HOST_ENDIAN, PCILIB_HOST_ENDIAN, "%lu", "conf", "pcilib configuration"},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
};