summaryrefslogtreecommitdiffstats
path: root/pci.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2014-12-19 00:14:21 +0100
committerSuren A. Chilingaryan <csa@suren.me>2014-12-19 00:14:21 +0100
commita640c40c6bcf4bad0b78e0ea6ea04f2a5f3f877f (patch)
tree7a6b899c130510e3cca87c23b26a5a1ffc033f20 /pci.h
parent0e16eeef08ed9b27f0fbc7f02a562a81e10c4119 (diff)
downloadipecamera-a640c40c6bcf4bad0b78e0ea6ea04f2a5f3f877f.tar.gz
ipecamera-a640c40c6bcf4bad0b78e0ea6ea04f2a5f3f877f.tar.bz2
ipecamera-a640c40c6bcf4bad0b78e0ea6ea04f2a5f3f877f.tar.xz
ipecamera-a640c40c6bcf4bad0b78e0ea6ea04f2a5f3f877f.zip
Initial implementation of IPEDMA, dummy driver for KAPTURE, start of API changes
Diffstat (limited to 'pci.h')
-rw-r--r--pci.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/pci.h b/pci.h
index b25aeec..4f3b9a1 100644
--- a/pci.h
+++ b/pci.h
@@ -52,13 +52,16 @@ struct pcilib_s {
#ifdef _PCILIB_PCI_C
# include "ipecamera/model.h"
+# include "kapture/model.h"
# include "dma/nwl.h"
+# include "dma/ipe.h"
# include "default.h"
-pcilib_model_description_t pcilib_model[3] = {
+pcilib_model_description_t pcilib_model[4] = {
{ 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL, NULL, NULL },
{ 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL, NULL, NULL },
- { 4, PCILIB_LITTLE_ENDIAN, ipecamera_registers, ipecamera_register_banks, ipecamera_register_ranges, ipecamera_events, ipecamera_data_types, &nwl_dma_api, &ipecamera_image_api }
+ { 4, PCILIB_LITTLE_ENDIAN, ipecamera_registers, ipecamera_register_banks, ipecamera_register_ranges, ipecamera_events, ipecamera_data_types, &nwl_dma_api, &ipecamera_image_api },
+ { 4, PCILIB_LITTLE_ENDIAN, kapture_registers, kapture_register_banks, kapture_register_ranges, kapture_events, kapture_data_types, &ipe_dma_api, &kapture_api },
};
pcilib_protocol_description_t pcilib_protocol[3] = {