summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-06-21 17:04:13 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 02:05:23 -0300
commit45ad9f8b44b06bf1e91b4b3c338406c2233f0482 (patch)
treeb2cccb49543bcb7289d084a803c44354fcb64115 /include/media
parent54aa9a21ca03cf41d911ada969e86f27ce58bab9 (diff)
V4L/DVB (4202): allow selecting CX2341x port mode
CX2341X port was always set to 'memory', but 'streaming' is also possible ivtv uses the memory (DMA) interface with the CX2341X, while pvrusb2 and cx88-blackbird use the streaming interface. This setting is now selectable by the driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/cx2341x.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/cx2341x.h b/include/media/cx2341x.h
index 0c9292fa5f6..fb170d4b523 100644
--- a/include/media/cx2341x.h
+++ b/include/media/cx2341x.h
@@ -19,8 +19,15 @@
#ifndef CX2341X_H
#define CX2341X_H
+enum cx2341x_port {
+ CX2341X_PORT_MEMORY,
+ CX2341X_PORT_STREAMING,
+ CX2341X_PORT_SERIAL
+};
+
struct cx2341x_mpeg_params {
/* misc */
+ enum cx2341x_port port;
u16 width;
u16 height;
u16 is_50hz;