diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-21 22:04:13 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-21 22:04:13 +0200 |
commit | c3c161df40114ed8f7c0a3bebd385c173919de18 (patch) | |
tree | 09179260d43e449a02a610132e4cddcb745c0d7d /linux/include/media/cx2341x.h | |
parent | 71f2bbd7d30a3c7ea2e220dd61e37e4e05f56b95 (diff) | |
download | mediapointer-dvb-s2-c3c161df40114ed8f7c0a3bebd385c173919de18.tar.gz mediapointer-dvb-s2-c3c161df40114ed8f7c0a3bebd385c173919de18.tar.bz2 |
CX2341X port was always set to 'memory', but 'streaming' is also possible
From: Hans Verkuil <hverkuil@xs4all.nl>
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>
Diffstat (limited to 'linux/include/media/cx2341x.h')
-rw-r--r-- | linux/include/media/cx2341x.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/include/media/cx2341x.h b/linux/include/media/cx2341x.h index 0c9292fa5..fb170d4b5 100644 --- a/linux/include/media/cx2341x.h +++ b/linux/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; |