summaryrefslogtreecommitdiffstats
path: root/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pci.h')
-rw-r--r--pci.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pci.h b/pci.h
index 0427c8a..98176ad 100644
--- a/pci.h
+++ b/pci.h
@@ -34,7 +34,8 @@ struct pcilib_s {
pcilib_kmem_list_t *kmem_list;
- pcilib_model_description_t *model_info;
+ size_t num_reg, alloc_reg;
+ pcilib_model_description_t model_info;
pcilib_dma_context_t *dma_ctx;
pcilib_context_t *event_ctx;
@@ -61,6 +62,8 @@ pcilib_protocol_description_t pcilib_protocol[3] = {
{ NULL, NULL }
};
#else
+extern pcilib_model_description_t pcilib_model[];
+
extern void (*pcilib_error)(const char *msg, ...);
extern void (*pcilib_warning)(const char *msg, ...);