summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_dvb.c
diff options
context:
space:
mode:
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));
OpenPOWER on IntegriCloud