aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/m920x.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2007-01-21 15:57:20 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:34:53 -0200
commit84ad7574f69b971565061663be2b0a9ade5b8ca7 (patch)
treec874a372ec713e5a803019724a59d3c40b5e0545 /drivers/media/dvb/dvb-usb/m920x.h
parent816172f8b944a98716f4b5fda801b7744cb91624 (diff)
V4L/DVB (5139): M920x: Fix tuner identification bug with qt1010 module
Fixes qt1010 identification bug with megasky caused by the Quantek QT1010 tuner module patch. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/m920x.h')
-rw-r--r--drivers/media/dvb/dvb-usb/m920x.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/m920x.h b/drivers/media/dvb/dvb-usb/m920x.h
index 597df11e6ea..c354196ffe5 100644
--- a/drivers/media/dvb/dvb-usb/m920x.h
+++ b/drivers/media/dvb/dvb-usb/m920x.h
@@ -18,9 +18,18 @@
#define M9206_FW 0x30
#define M9206_MAX_FILTERS 8
+
+#define M9206_I2C_TUNER 0
+#define M9206_I2C_DEMOD 1
+#define M9206_I2C_MAX 2
+
struct m9206_state {
u16 filters[M9206_MAX_FILTERS];
int filtering_enabled;
int rep_count;
+ struct {
+ unsigned char addr;
+ unsigned char magic;
+ }i2c_r[M9206_I2C_MAX];
};
#endif