summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-29 05:25:08 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-29 05:25:08 +0200
commita740fcee56bd456a759e03526df476e1791fb2bd (patch)
tree150af9b0b67abee77ae304b6d20516d8673bf52a /pcilib/pci.h
parent0f8c3ffba654a5b05fa509f412c0b9d9de931c69 (diff)
downloadpcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.gz
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.bz2
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.xz
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.zip
Create dummy register context
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index b53c70b..0775663 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -54,13 +54,11 @@ struct pcilib_s {
pcilib_dma_description_t dma; /**< Configuration of used DMA implementation */
pcilib_dma_engine_description_t engines[PCILIB_MAX_DMA_ENGINES + 1]; /**< List of engines defined by the DMA implementation */
-// pcilib_register_context_t *register_ctx; /**< Contexts for registers */
+ pcilib_register_context_t *register_ctx; /**< Contexts for registers */
pcilib_register_bank_context_t *bank_ctx[PCILIB_MAX_REGISTER_BANKS]; /**< Contexts for registers banks if required by register protocol */
pcilib_dma_context_t *dma_ctx; /**< DMA context */
pcilib_context_t *event_ctx; /**< Implmentation context */
-// pcilib_dma_info_t dma_info;
-
#ifdef PCILIB_FILE_IO
int file_io_handle;
#endif /* PCILIB_FILE_IO */