summaryrefslogtreecommitdiffstats
path: root/ipecamera/model.h
diff options
context:
space:
mode:
authorroot <root@ipepdvpc4>2011-07-26 16:52:01 +0200
committerroot <root@ipepdvpc4>2011-07-26 16:52:01 +0200
commit093a3ad25ec0eca3d7a535a2d054b15f7ce1f757 (patch)
tree95b22ef6bb14f6cb6681f981cd1b1bd2aea3dc9e /ipecamera/model.h
parent4fb42b72682d05ae15dc19296715fe6fe467bc2e (diff)
downloadipecamera-093a3ad25ec0eca3d7a535a2d054b15f7ce1f757.tar.gz
ipecamera-093a3ad25ec0eca3d7a535a2d054b15f7ce1f757.tar.bz2
ipecamera-093a3ad25ec0eca3d7a535a2d054b15f7ce1f757.tar.xz
ipecamera-093a3ad25ec0eca3d7a535a2d054b15f7ce1f757.zip
DMA support in IPE Camera
Diffstat (limited to 'ipecamera/model.h')
-rw-r--r--ipecamera/model.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipecamera/model.h b/ipecamera/model.h
index 9e78ab3..2cda0cd 100644
--- a/ipecamera/model.h
+++ b/ipecamera/model.h
@@ -6,7 +6,9 @@
#include "pcilib.h"
#include "image.h"
-//#define IPECAMERA_DMA_R3
+#define IPECAMERA_DMA_R3
+#define IPECAMERA_DMA_ADDRESS 1
+#define IPECAMERA_DMA_PACKET_LENGTH 4096
//#define IPECAMERA_REGISTER_SPACE 0xfeaffc00
#define IPECAMERA_REGISTER_SPACE 0x9000