summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/stv06xx/stv06xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 03:06:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 03:06:49 -0300
commit8b3ed0d52132397a5de88531f5287b5e7864b76e (patch)
tree8a2ce91805633daa4063b1910f50c7bad1c327a5 /linux/drivers/media/video/gspca/stv06xx/stv06xx.h
parent9bd4b1d143281470bf7a00afda20a7368154e213 (diff)
parent3f5baede21113b8adf1b40d403e19a1ced1b07b8 (diff)
downloadmediapointer-dvb-s2-8b3ed0d52132397a5de88531f5287b5e7864b76e.tar.gz
mediapointer-dvb-s2-8b3ed0d52132397a5de88531f5287b5e7864b76e.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-subdev2
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/stv06xx/stv06xx.h')
-rw-r--r--linux/drivers/media/video/gspca/stv06xx/stv06xx.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/stv06xx/stv06xx.h b/linux/drivers/media/video/gspca/stv06xx/stv06xx.h
index 1207e7d17..bb73c3288 100644
--- a/linux/drivers/media/video/gspca/stv06xx/stv06xx.h
+++ b/linux/drivers/media/video/gspca/stv06xx/stv06xx.h
@@ -31,6 +31,7 @@
#define STV06XX_H_
#include "gspca.h"
+#include "compat.h"
#define MODULE_NAME "STV06xx"
@@ -93,6 +94,17 @@ struct sd {
/* Sensor private data */
void *sensor_priv;
+
+ /* The first 4 lines produced by the stv6422 are no good, this keeps
+ track of how many bytes we still need to skip during a frame */
+ int to_skip;
+
+ /* Bridge / Camera type */
+ u8 bridge;
+ #define BRIDGE_STV600 0
+ #define BRIDGE_STV602 1
+ #define BRIDGE_STV610 2
+ #define BRIDGE_ST6422 3 /* With integrated sensor */
};
int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data);