summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
authornicolas.zilio@hotmail.fr <>2015-09-11 19:40:33 +0200
committernicolas.zilio@hotmail.fr <>2015-09-11 19:40:33 +0200
commit60c6bf9f6916b6ae2c05a499675ff54480256ece (patch)
tree065426f61514f771fdf2bbaa0dbced13b7ff87a9 /pcilib/pci.h
parent0d460b28c769fd2a1d2efb85f11edd4189fb5713 (diff)
downloadpcitool-60c6bf9f6916b6ae2c05a499675ff54480256ece.tar.gz
pcitool-60c6bf9f6916b6ae2c05a499675ff54480256ece.tar.bz2
pcitool-60c6bf9f6916b6ae2c05a499675ff54480256ece.tar.xz
pcitool-60c6bf9f6916b6ae2c05a499675ff54480256ece.zip
more towards views
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index 657c335..3b1c0e8 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -8,6 +8,7 @@
#define PCILIB_DMA_SKIP_TIMEOUT 1000000 /**< us */
#define PCILIB_MAX_BARS 6 /**< this is defined by PCI specification */
#define PCILIB_DEFAULT_REGISTER_SPACE 1024 /**< number of registers to allocate on init */
+#define PCILIB_DEFAULT_VIEW_SPACE 128 /**< number of views to allocate on init */
#define PCILIB_MAX_REGISTER_BANKS 32 /**< maximum number of register banks to allocate space for */
#define PCILIB_MAX_REGISTER_RANGES 32 /**< maximum number of register ranges to allocate space for */
#define PCILIB_MAX_REGISTER_PROTOCOLS 32 /**< maximum number of register protocols to support */