summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/mantis/mantis_dvb.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 10:42:22 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 16:55:31 +0300
commitb2eb1312faa26703e71b7b3945c8773213e9ee49 (patch)
tree4e9ca292e4be0a917fd39512c3e14589a32e5c18 /drivers/media/dvb/mantis/mantis_dvb.c
parent5e68b0aedaa34447d86ae5cc6d071251c62bef37 (diff)
downloadlinux-b2eb1312faa26703e71b7b3945c8773213e9ee49.tar.xz
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 @@
#include "mantis_vp1033.h"
#include "mantis_vp1034.h"
#include "mantis_vp2033.h"
+#include "mantis_vp2040.h"
#include "mantis_vp3030.h"
/* Tuner power supply control */
@@ -243,7 +244,7 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
if (mantis->fe) {
mantis->fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set;
dprintk(verbose, MANTIS_ERROR, 1,
- "found Philips CU1216 DVB-C frontend @ 0x%02x",
+ "found Philips CU1216 DVB-C frontend (TDA10021) @ 0x%02x",
philips_cu1216_config.demod_address);
dprintk(verbose, MANTIS_ERROR, 1,
@@ -251,6 +252,19 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
}
break;
+ case TERRATEC_CINERGY_C_PCI:
+ dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
+ mantis->fe = tda10023_attach(&tda10023_cu1216_config, &mantis->adapter, read_pwm(mantis));
+ if (mantis->fe) {
+ mantis->fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set;
+ dprintk(verbose, MANTIS_ERROR, 1,
+ "found Philips CU1216 DVB-C frontend (TDA10023) @ 0x%02x",
+ philips_cu1216_config.demod_address);
+
+ dprintk(verbose, MANTIS_ERROR, 1,
+ "Mantis DVB-C Philips CU1216 frontend attach success");
+ }
+ break;
default:
dprintk(verbose, MANTIS_DEBUG, 1, "Unknown frontend:[0x%02x]",
mantis->sub_device_id);