summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Horlin <magnus@alefors.se>2009-12-04 05:14:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:35 -0200
commitea30d81a9634cb4c13bbef46877f0d7730c57552 (patch)
tree03fb55509a333d7c913c142f24106e5122fa4df3
parenta0c59063a7fe92524ab8fa6e31997b177a8f3029 (diff)
V4L/DVB (13748): [Mantis/VP-2040] Add support for VP-2040 (TDA10023 frontend based)
Signed-off-by: Magnus Horlin <magnus@alefors.se> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/mantis/mantis_core.c1
-rw-r--r--drivers/media/dvb/mantis/mantis_dvb.c1
-rw-r--r--drivers/media/dvb/mantis/mantis_vp2040.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_core.c b/drivers/media/dvb/mantis/mantis_core.c
index a164bb143631..b94d0515de4b 100644
--- a/drivers/media/dvb/mantis/mantis_core.c
+++ b/drivers/media/dvb/mantis/mantis_core.c
@@ -119,6 +119,7 @@ static void mantis_load_config(struct mantis_pci *mantis)
case MANTIS_VP_2033_DVB_C: // VP-2033
mantis->hwconfig = &vp2033_mantis_config;
break;
+ case MANTIS_VP_2040_DVB_C: // VP-2040
case TERRATEC_CINERGY_C_PCI: // VP-2040 clone
mantis->hwconfig = &vp2040_mantis_config;
break;
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c
index ade444963c84..3940aed8af8d 100644
--- a/drivers/media/dvb/mantis/mantis_dvb.c
+++ b/drivers/media/dvb/mantis/mantis_dvb.c
@@ -273,6 +273,7 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
}
break;
+ case MANTIS_VP_2040_DVB_C: // VP-2040
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));
diff --git a/drivers/media/dvb/mantis/mantis_vp2040.h b/drivers/media/dvb/mantis/mantis_vp2040.h
index 825ccbb87ad3..69463cc4ccc8 100644
--- a/drivers/media/dvb/mantis/mantis_vp2040.h
+++ b/drivers/media/dvb/mantis/mantis_vp2040.h
@@ -25,6 +25,7 @@
#include "mantis_common.h"
#include "tda1002x.h"
+#define MANTIS_VP_2040_DVB_C 0x0043
#define TERRATEC_CINERGY_C_PCI 0x1178
extern struct tda1002x_config tda10023_cu1216_config;