]> err.no Git - linux-2.6/blobdiff - drivers/media/dvb/dvb-usb/m920x.h
V4L/DVB (5139): M920x: Fix tuner identification bug with qt1010 module
[linux-2.6] / drivers / media / dvb / dvb-usb / m920x.h
index 597df11e6ea03ea59cd6298832a09bbd89be1afb..c354196ffe5d59539b2bc7fcc33bc7e90f873a5c 100644 (file)
 #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