@@ -597,6 +597,10 @@ static int zl10353_init(struct dvb_front
zl10353_read_register(state, 0x51) != zl10353_reset_attach[2]) {
rc = zl10353_write(fe, zl10353_reset_attach,
sizeof(zl10353_reset_attach));
+
+ if (state->i2c->id == I2C_HW_B_TM6000) {
+ /* Do special init needed by tm6000 driver */
+ }
#if 1
if (debug_regs)
zl10353_dump_regs(fe);
@@ -33,8 +33,6 @@
#include "tuner-xc2028.h"
-/*FIXME: Hack to avoid needing to patch i2c-id.h */
-#define I2C_HW_B_TM6000 I2C_HW_B_EM28XX
/* ----------------------------------------------------------- */
static unsigned int i2c_debug = 0;
@@ -42,6 +42,7 @@
#define I2C_HW_B_AU0828 0x010023 /* auvitek au0828 usb bridge */
#define I2C_HW_B_CX231XX 0x010024 /* Conexant CX231XX USB based cards */
#define I2C_HW_B_HDPVR 0x010025 /* Hauppauge HD PVR */
+#define I2C_HW_B_TM6000 0x010026 /* TM5600/6000/6010 video bridge */
/* --- SGI adapters */
#define I2C_HW_SGI_VINO 0x160000