Commit 51d20db8 authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab

V4L/DVB (13720): [Mantis/Terratec Cinergy C] Add support for the Terratec Cinergy C PCI

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2687d832
...@@ -111,6 +111,7 @@ static void mantis_load_config(struct mantis_pci *mantis) ...@@ -111,6 +111,7 @@ static void mantis_load_config(struct mantis_pci *mantis)
mantis->hwconfig = &vp1034_mantis_config; mantis->hwconfig = &vp1034_mantis_config;
break; break;
case MANTIS_VP_2033_DVB_C: // VP-2033 case MANTIS_VP_2033_DVB_C: // VP-2033
case TERRATEC_CINERGY_C_PCI: // Terratec Cinergy C PCI
mantis->hwconfig = &vp2033_mantis_config; mantis->hwconfig = &vp2033_mantis_config;
break; break;
case MANTIS_VP_3030_DVB_T: // VP-3030 case MANTIS_VP_3030_DVB_T: // VP-3030
......
...@@ -251,6 +251,19 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis) ...@@ -251,6 +251,19 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
} }
break; break;
case TERRATEC_CINERGY_C_PCI:
dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
mantis->fe = tda10023_attach(&philips_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 0x%02x",
philips_cu1216_config.demod_address);
dprintk(verbose, MANTIS_ERROR, 1,
"Mantis DVB-C Philips CU1216 frontend attach success");
}
break;
default: default:
dprintk(verbose, MANTIS_DEBUG, 1, "Unknown frontend:[0x%02x]", dprintk(verbose, MANTIS_DEBUG, 1, "Unknown frontend:[0x%02x]",
mantis->sub_device_id); mantis->sub_device_id);
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "tda1002x.h" #include "tda1002x.h"
#define MANTIS_VP_2033_DVB_C 0x0008 #define MANTIS_VP_2033_DVB_C 0x0008
#define TERRATEC_CINERGY_C_PCI 0x1178
extern struct tda1002x_config philips_cu1216_config; extern struct tda1002x_config philips_cu1216_config;
extern struct mantis_hwconfig vp2033_mantis_config; extern struct mantis_hwconfig vp2033_mantis_config;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment