V4L/DVB (13748): [Mantis/VP-2040] Add support for VP-2040 (TDA10023 frontend based)
authorMagnus Horlin <magnus@alefors.se>
Fri, 4 Dec 2009 08:14:34 +0000 (05:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:35 +0000 (11:55 -0200)
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>
drivers/media/dvb/mantis/mantis_core.c
drivers/media/dvb/mantis/mantis_dvb.c
drivers/media/dvb/mantis/mantis_vp2040.h

index a164bb143631f9aac084da70d1d12de04506d855..b94d0515de4b6679a58e8c705bc806536e1d955c 100644 (file)
@@ -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;
index ade444963c846109106533efb78b515522be654c..3940aed8af8d74ed2c73c92d869cdbebfcf31c3d 100644 (file)
@@ -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));
index 825ccbb87ad34137bb1b701ce1d839942b1efe00..69463cc4ccc8b5c66397a9496a89f0f2f1cf2f65 100644 (file)
@@ -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;