diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-09 05:33:18 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-09 05:33:18 +0200 |
commit | 02924fc49641ca9c000054a7a540b6f1eaa0e8f8 (patch) | |
tree | 986ba532752d7e19d85f77eea57f15579fe913d5 /pci.h | |
parent | 80d999195b2b1896fcd1878a44b0ece474fe678c (diff) | |
download | ipecamera-02924fc49641ca9c000054a7a540b6f1eaa0e8f8.tar.gz ipecamera-02924fc49641ca9c000054a7a540b6f1eaa0e8f8.tar.bz2 ipecamera-02924fc49641ca9c000054a7a540b6f1eaa0e8f8.tar.xz ipecamera-02924fc49641ca9c000054a7a540b6f1eaa0e8f8.zip |
Support dynamic registers, support register offsets and multiregisters (bitmasks), list NWL DMA registers
Diffstat (limited to 'pci.h')
-rw-r--r-- | pci.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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, ...); |