diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-06-12 12:41:47 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-06-12 12:41:47 -0400 |
commit | c6586dcc27057b17c391ea33715673489f4be9fb (patch) | |
tree | 3636b3bf2e5f28fd68fa9abecab993237c4de01c | |
parent | 9ce92b6aadab5b8a7b28c3a67cd05c30ac6d2c7d (diff) | |
download | mediapointer-dvb-s2-c6586dcc27057b17c391ea33715673489f4be9fb.tar.gz mediapointer-dvb-s2-c6586dcc27057b17c391ea33715673489f4be9fb.tar.bz2 |
cx88: add support for DViCO FusionHDTV DVB-T Dual PCI based on zl10353
From: Michael Krufky <mkrufky@linuxtv.org>
This patch adds support for a newer version of this device
using the zl10353 frontend instead of the mt352 frontend.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index 63002559e..789f569a9 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -594,17 +594,29 @@ static int dvb_register(struct cx8802_dev *dev) printk("%s: built without vp3054 support\n", dev->core->name); #endif break; +#endif +#if defined(HAVE_MT352) || defined(HAVE_ZL10353) case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL: +#ifdef HAVE_MT352 /* The tin box says DEE1601, but it seems to be DTT7579 * compatible, with a slightly different MT352 AGC gain. */ dev->dvb.frontend = mt352_attach(&dvico_fusionhdtv_dual, &dev->core->i2c_adap); if (dev->dvb.frontend != NULL) { dvb_pll_attach(dev->dvb.frontend, 0x61, &dev->core->i2c_adap, &dvb_pll_thomson_dtt7579); + break; } - break; #endif #ifdef HAVE_ZL10353 + /* ZL10353 replaces MT352 on later cards */ + dev->dvb.frontend = zl10353_attach(&dvico_fusionhdtv_plus_v1_1, &dev->core->i2c_adap); + if (dev->dvb.frontend != NULL) { + dvb_pll_attach(dev->dvb.frontend, 0x61, &dev->core->i2c_adap, &dvb_pll_thomson_dtt7579); + } +#endif + break; +#endif /* HAVE_MT352 || HAVE_ZL10353 */ +#ifdef HAVE_ZL10353 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID: dev->core->pll_addr = 0x61; dev->core->pll_desc = &dvb_pll_thomson_fe6600; |