diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-21 16:04:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:23 -0400 |
commit | 45ad9f8b44b06bf1e91b4b3c338406c2233f0482 (patch) | |
tree | b2cccb49543bcb7289d084a803c44354fcb64115 /include/media | |
parent | 54aa9a21ca03cf41d911ada969e86f27ce58bab9 (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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/cx2341x.h b/include/media/cx2341x.h index 0c9292fa5f6d..fb170d4b5235 100644 --- a/include/media/cx2341x.h +++ b/include/media/cx2341x.h | |||
@@ -19,8 +19,15 @@ | |||
19 | #ifndef CX2341X_H | 19 | #ifndef CX2341X_H |
20 | #define CX2341X_H | 20 | #define CX2341X_H |
21 | 21 | ||
22 | enum cx2341x_port { | ||
23 | CX2341X_PORT_MEMORY, | ||
24 | CX2341X_PORT_STREAMING, | ||
25 | CX2341X_PORT_SERIAL | ||
26 | }; | ||
27 | |||
22 | struct cx2341x_mpeg_params { | 28 | struct cx2341x_mpeg_params { |
23 | /* misc */ | 29 | /* misc */ |
30 | enum cx2341x_port port; | ||
24 | u16 width; | 31 | u16 width; |
25 | u16 height; | 32 | u16 height; |
26 | u16 is_50hz; | 33 | u16 is_50hz; |