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:43:04 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 16:55:31 +0300
commit873c8c25ebca50bd60e21784c4d442c4fecb8658 (patch)
treeb77888f4ed1fda64123cb4b5c3b756ba05d93762 /drivers/media/dvb/mantis/mantis_dvb.c
parentb2eb1312faa26703e71b7b3945c8773213e9ee49 (diff)
downloadlinux-873c8c25ebca50bd60e21784c4d442c4fecb8658.tar.xz
V4L/DVB (13724): [Mantis/VP-1041] Initial support for Mantis VP-1041
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.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c
index 15012ea5796a..a4750bb22b02 100644
--- a/drivers/media/dvb/mantis/mantis_dvb.c
+++ b/drivers/media/dvb/mantis/mantis_dvb.c
@@ -27,6 +27,7 @@
#include "dvb_frontend.h"
#include "mantis_vp1033.h"
#include "mantis_vp1034.h"
+#include "mantis_vp1041.h"
#include "mantis_vp2033.h"
#include "mantis_vp2040.h"
#include "mantis_vp3030.h"
@@ -238,6 +239,23 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)
}
break;
+ case MANTIS_VP_1041_DVB_S2:
+ mantis->fe = stb0899_attach(&vp1041_config, &mantis->adapter);
+ if (mantis->fe) {
+ dprintk(verbose, MANTIS_ERROR, 1,
+ "found STB0899 DVB-S/DVB-S2 frontend @0x%02x",
+ vp1041_config.demod_address);
+
+ if (stb6100_attach(mantis->fe, &vp1041_stb6100_config, &mantis->adapter)) {
+ if (!lnbp21_attach(mantis->fe, &mantis->adapter, 0, 0)) {
+ printk("%s: No LNBP21 found!\n", __FUNCTION__);
+ mantis->fe = NULL;
+ }
+ } else {
+ mantis->fe = NULL;
+ }
+ }
+ break;
case MANTIS_VP_2033_DVB_C: // VP-2033
dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
mantis->fe = tda10021_attach(&philips_cu1216_config, &mantis->adapter, read_pwm(mantis));