aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorStephan Wienczny <Stephan@wienczny.de>2009-03-10 18:08:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:18 -0400
commit70101a2785598f1a743c1e0fb65264c55bf5a29f (patch)
tree043fa173cb83eda02b3fc09f1e76b9c0d626cc94 /drivers/media/video/cx88/cx88-dvb.c
parenta27e4fd321cdfe5b333efb41589c1008c705e312 (diff)
V4L/DVB (10949): Add support for Terratec Cinergy HT PCI MKII
This patch adds support for Terratec Cinergy HT PCI MKII with card id 79. Its more or less a copy of Pinnacle Hybrid PCTV. Thanks to k1ngf1sher on forum.ubuntuusers.de for the idea to copy that card. Signed-off-by: Stephan Wienczny <stephan@wienczny.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index aef5297534af..08346fa05cd7 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -241,6 +241,12 @@ static struct mt352_config dvico_fusionhdtv_dual = {
241 .demod_init = dvico_dual_demod_init, 241 .demod_init = dvico_dual_demod_init,
242}; 242};
243 243
244static struct zl10353_config cx88_terratec_cinergy_ht_pci_mkii_config = {
245 .demod_address = (0x1e >> 1),
246 .no_tuner = 1,
247 .if2 = 45600,
248};
249
244#if defined(CONFIG_VIDEO_CX88_VP3054) || (defined(CONFIG_VIDEO_CX88_VP3054_MODULE) && defined(MODULE)) 250#if defined(CONFIG_VIDEO_CX88_VP3054) || (defined(CONFIG_VIDEO_CX88_VP3054_MODULE) && defined(MODULE))
245static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend* fe) 251static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend* fe)
246{ 252{
@@ -1131,6 +1137,16 @@ static int dvb_register(struct cx8802_dev *dev)
1131 if (fe0->dvb.frontend != NULL) 1137 if (fe0->dvb.frontend != NULL)
1132 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; 1138 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
1133 break; 1139 break;
1140 case CX88_BOARD_TERRATEC_CINERGY_HT_PCI_MKII:
1141 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1142 &cx88_terratec_cinergy_ht_pci_mkii_config,
1143 &core->i2c_adap);
1144 if (fe0->dvb.frontend) {
1145 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1146 if (attach_xc3028(0x61, dev) < 0)
1147 goto frontend_detach;
1148 }
1149 break;
1134 default: 1150 default:
1135 printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", 1151 printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n",
1136 core->name); 1152 core->name);