summaryrefslogtreecommitdiffstats
path: root/pci.h
diff options
context:
space:
mode:
authorroot <root@iss-tomyspiel-l>2011-06-16 04:28:59 +0200
committerroot <root@iss-tomyspiel-l>2011-06-16 04:28:59 +0200
commit1aafef50177b850efda576259cb78d2df7d03259 (patch)
tree4ccf44b46983b652b741f7b92dd394c4dc600748 /pci.h
parent3215a87dbbce676aa434a6d5b4835e456dac3605 (diff)
downloadpcitool-1aafef50177b850efda576259cb78d2df7d03259.tar.gz
pcitool-1aafef50177b850efda576259cb78d2df7d03259.tar.bz2
pcitool-1aafef50177b850efda576259cb78d2df7d03259.tar.xz
pcitool-1aafef50177b850efda576259cb78d2df7d03259.zip
A bit of DMA infrastructure
Diffstat (limited to 'pci.h')
-rw-r--r--pci.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/pci.h b/pci.h
index e3e5c9a..0a7a55e 100644
--- a/pci.h
+++ b/pci.h
@@ -5,19 +5,24 @@
#include "driver/pciDriver.h"
+
+typedef void pcilib_event_context_t;
+typedef void pcilib_dma_context_t;
+
#include "pcilib.h"
-const pci_board_info *pcilib_get_board_info(pcilib_t *ctx);
+const pcilib_board_info_t *pcilib_get_board_info(pcilib_t *ctx);
+const pcilib_dma_info_t *pcilib_get_dma_info(pcilib_t *ctx);
#ifdef _PCILIB_PCI_C
# include "ipecamera/model.h"
# include "default.h"
pcilib_model_description_t pcilib_model[3] = {
- { 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL },
- { 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL },
- { 4, PCILIB_BIG_ENDIAN, ipecamera_registers, ipecamera_register_banks, ipecamera_register_ranges, ipecamera_events, &ipecamera_image_api }
+ { 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL, NULL },
+ { 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL, NULL },
+ { 4, PCILIB_BIG_ENDIAN, ipecamera_registers, ipecamera_register_banks, ipecamera_register_ranges, ipecamera_events, NULL, &ipecamera_image_api }
};
pcilib_protocol_description_t pcilib_protocol[3] = {