aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/m920x.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2007-01-21 13:57:20 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:53 -0500
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 @@
18#define M9206_FW 0x30 18#define M9206_FW 0x30
19 19
20#define M9206_MAX_FILTERS 8 20#define M9206_MAX_FILTERS 8
21
22#define M9206_I2C_TUNER 0
23#define M9206_I2C_DEMOD 1
24#define M9206_I2C_MAX 2
25
21struct m9206_state { 26struct m9206_state {
22 u16 filters[M9206_MAX_FILTERS]; 27 u16 filters[M9206_MAX_FILTERS];
23 int filtering_enabled; 28 int filtering_enabled;
24 int rep_count; 29 int rep_count;
30 struct {
31 unsigned char addr;
32 unsigned char magic;
33 }i2c_r[M9206_I2C_MAX];
25}; 34};
26#endif 35#endif