diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-04-11 00:46:46 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-04-11 00:46:46 -0400 |
commit | 5afa1d2f3acfdd9039865f615405fd9e621c8deb (patch) | |
tree | c842a6c92d10029ff768e0570cb288a63619156b | |
parent | cfeb6bbf927c9a3403a7ba956ef11743eddf60de (diff) | |
download | mediapointer-dvb-s2-5afa1d2f3acfdd9039865f615405fd9e621c8deb.tar.gz mediapointer-dvb-s2-5afa1d2f3acfdd9039865f615405fd9e621c8deb.tar.bz2 |
dvb-bt8xx: add support for DViCO FusionHDTV DVB-T Lite 2nd revision
From: Michael Krufky <mkrufky@linuxtv.org>
This patch adds support for the new revision of the DViCO
FusionHDTV DVB-T Lite, based on the zl10353 demod instead
of mt352.
Both mt352 and zl10353 revisions of this card have the
same PCI subsystem ID.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Ack'd-by: Manu Abraham <manu@linuxtv.org>
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 10 | ||||
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index cd6e41a49..0e01863ab 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -185,6 +185,11 @@ static struct mt352_config thomson_dtt7579_config = { .pll_set = thomson_dtt7579_pll_set, }; +static struct zl10353_config thomson_dtt7579_zl10353_config = { + .demod_address = 0x0f, + .pll_set = thomson_dtt7579_pll_set, +}; + static int cx24108_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) { u32 freq = params->frequency; @@ -618,6 +623,11 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) switch(type) { case BTTV_BOARD_DVICO_DVBT_LITE: card->fe = mt352_attach(&thomson_dtt7579_config, card->i2c_adapter); + + if (card->fe == NULL) + card->fe = zl10353_attach(&thomson_dtt7579_zl10353_config, + card->i2c_adapter); + if (card->fe != NULL) { card->fe->ops->info.frequency_min = 174000000; card->fe->ops->info.frequency_max = 862000000; diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h index 9992d1071..626718774 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h @@ -40,6 +40,7 @@ #include "cx24110.h" #include "or51211.h" #include "lgdt330x.h" +#include "zl10353.h" struct dvb_bt8xx_card { #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) |