aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_dvb.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 02:42:22 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:55:31 -0500
commitb2eb1312faa26703e71b7b3945c8773213e9ee49 (patch)
tree4e9ca292e4be0a917fd39512c3e14589a32e5c18 /drivers/media/dvb/mantis/mantis_dvb.c
parent5e68b0aedaa34447d86ae5cc6d071251c62bef37 (diff)
V4L/DVB (13723): [Mantis/VP-2040, Terratec Cinergy C] Add support for the Cinergy C, VP-2040 clone
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_dvb.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_dvb.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c
index f2556950d18b..15012ea5796a 100644
--- a/drivers/media/dvb/mantis/mantis_dvb.c
+++ b/drivers/media/dvb/mantis/mantis_dvb.c
@@ -28,6 +28,7 @@
28#include "mantis_vp1033.h" 28#include "mantis_vp1033.h"
29#include "mantis_vp1034.h" 29#include "mantis_vp1034.h"
30#include "mantis_vp2033.h" 30#include "mantis_vp2033.h"
31#include "mantis_vp2040.h"
31#include "mantis_vp3030.h" 32#include "mantis_vp3030.h"
32 33
33/* Tuner power supply control */ 34/* Tuner power supply control */
@@ -243,7 +244,7 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
243 if (mantis->fe) { 244 if (mantis->fe) {
244 mantis->fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set; 245 mantis->fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set;
245 dprintk(verbose, MANTIS_ERROR, 1, 246 dprintk(verbose, MANTIS_ERROR, 1,
246 "found Philips CU1216 DVB-C frontend @ 0x%02x", 247 "found Philips CU1216 DVB-C frontend (TDA10021) @ 0x%02x",
247 philips_cu1216_config.demod_address); 248 philips_cu1216_config.demod_address);
248 249
249 dprintk(verbose, MANTIS_ERROR, 1, 250 dprintk(verbose, MANTIS_ERROR, 1,
@@ -251,6 +252,19 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
251 252
252 } 253 }
253 break; 254 break;
255 case TERRATEC_CINERGY_C_PCI:
256 dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
257 mantis->fe = tda10023_attach(&tda10023_cu1216_config, &mantis->adapter, read_pwm(mantis));
258 if (mantis->fe) {
259 mantis->fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set;
260 dprintk(verbose, MANTIS_ERROR, 1,
261 "found Philips CU1216 DVB-C frontend (TDA10023) @ 0x%02x",
262 philips_cu1216_config.demod_address);
263
264 dprintk(verbose, MANTIS_ERROR, 1,
265 "Mantis DVB-C Philips CU1216 frontend attach success");
266 }
267 break;
254 default: 268 default:
255 dprintk(verbose, MANTIS_DEBUG, 1, "Unknown frontend:[0x%02x]", 269 dprintk(verbose, MANTIS_DEBUG, 1, "Unknown frontend:[0x%02x]",
256 mantis->sub_device_id); 270 mantis->sub_device_id);