summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index dfbaf9b..00528e1 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -26,7 +26,6 @@
#include "export.h"
#include "locking.h"
#include "xml.h"
-#include <libxml/tree.h>
typedef struct {
uint8_t max_link_speed, link_speed;
@@ -61,7 +60,9 @@ struct pcilib_s {
size_t num_banks_init; /**< Number of initialized banks */
size_t num_reg, alloc_reg; /**< Number of registered and allocated registers */
size_t num_banks, num_protocols, num_ranges; /**< Number of registered banks, protocols, and register ranges */
- size_t num_engines; /**> Number of configured DMA engines */
+ size_t num_engines; /**< Number of configured DMA engines */
+ size_t dyn_banks; /**< Number of configured dynamic banks */
+
pcilib_register_description_t *registers; /**< List of currently defined registers (from all sources) */
pcilib_register_bank_description_t banks[PCILIB_MAX_REGISTER_BANKS + 1]; /**< List of currently defined register banks (from all sources) */
pcilib_register_range_t ranges[PCILIB_MAX_REGISTER_RANGES + 1]; /**< List of currently defined register ranges (from all sources) */
@@ -73,12 +74,12 @@ struct pcilib_s {
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_xml_context_t* xml_ctx; /**< context to xml files*/
pcilib_lock_t *dma_rlock[PCILIB_MAX_DMA_ENGINES]; /**< Per-engine locks to serialize streaming and read operations */
pcilib_lock_t *dma_wlock[PCILIB_MAX_DMA_ENGINES]; /**< Per-engine locks to serialize write operations */
struct pcilib_locking_s locks; /**< Context of locking subsystem */
+ struct pcilib_xml_s xml; /**< XML context */
#ifdef PCILIB_FILE_IO
int file_io_handle;