Commit ea30d81a authored by Magnus Horlin's avatar Magnus Horlin Committed by Mauro Carvalho Chehab

V4L/DVB (13748): [Mantis/VP-2040] Add support for VP-2040 (TDA10023 frontend based)

Signed-off-by: default avatarMagnus Horlin <magnus@alefors.se>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a0c59063
...@@ -119,6 +119,7 @@ static void mantis_load_config(struct mantis_pci *mantis) ...@@ -119,6 +119,7 @@ static void mantis_load_config(struct mantis_pci *mantis)
case MANTIS_VP_2033_DVB_C: // VP-2033 case MANTIS_VP_2033_DVB_C: // VP-2033
mantis->hwconfig = &vp2033_mantis_config; mantis->hwconfig = &vp2033_mantis_config;
break; break;
case MANTIS_VP_2040_DVB_C: // VP-2040
case TERRATEC_CINERGY_C_PCI: // VP-2040 clone case TERRATEC_CINERGY_C_PCI: // VP-2040 clone
mantis->hwconfig = &vp2040_mantis_config; mantis->hwconfig = &vp2040_mantis_config;
break; break;
......
...@@ -273,6 +273,7 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis) ...@@ -273,6 +273,7 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
} }
break; break;
case MANTIS_VP_2040_DVB_C: // VP-2040
case TERRATEC_CINERGY_C_PCI: case TERRATEC_CINERGY_C_PCI:
dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)"); dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
mantis->fe = tda10023_attach(&tda10023_cu1216_config, &mantis->adapter, read_pwm(mantis)); mantis->fe = tda10023_attach(&tda10023_cu1216_config, &mantis->adapter, read_pwm(mantis));
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "mantis_common.h" #include "mantis_common.h"
#include "tda1002x.h" #include "tda1002x.h"
#define MANTIS_VP_2040_DVB_C 0x0043
#define TERRATEC_CINERGY_C_PCI 0x1178 #define TERRATEC_CINERGY_C_PCI 0x1178
extern struct tda1002x_config tda10023_cu1216_config; extern struct tda1002x_config tda10023_cu1216_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