diff options
author | Igor M. Liplianin <liplianin@me.by> | 2010-01-17 08:32:26 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:41 -0500 |
commit | b4a0e816fbe2af815674c514588b6cb444ec5fd9 (patch) | |
tree | 1261be59726d45ae8f3fa4365e13d59fb92f5dc6 /drivers/media/dvb/dm1105/dm1105.c | |
parent | 95480f2773588eabb35ac9354d068b068ef11e70 (diff) |
V4L/DVB: Add Support for DVBWorld DVB-S2 PCI 2004D card
The PCI card contains dm1105 PCI bridge and ds3000 demod.
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dm1105/dm1105.c')
-rw-r--r-- | drivers/media/dvb/dm1105/dm1105.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c index aadf803c261c..033e1f356742 100644 --- a/drivers/media/dvb/dm1105/dm1105.c +++ b/drivers/media/dvb/dm1105/dm1105.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include "si21xx.h" | 43 | #include "si21xx.h" |
44 | #include "cx24116.h" | 44 | #include "cx24116.h" |
45 | #include "z0194a.h" | 45 | #include "z0194a.h" |
46 | #include "ds3000.h" | ||
46 | 47 | ||
47 | #define UNSET (-1U) | 48 | #define UNSET (-1U) |
48 | 49 | ||
@@ -685,6 +686,10 @@ static struct cx24116_config serit_sp2633_config = { | |||
685 | .demod_address = 0x55, | 686 | .demod_address = 0x55, |
686 | }; | 687 | }; |
687 | 688 | ||
689 | static struct ds3000_config dvbworld_ds3000_config = { | ||
690 | .demod_address = 0x68, | ||
691 | }; | ||
692 | |||
688 | static int __devinit frontend_init(struct dm1105dvb *dm1105dvb) | 693 | static int __devinit frontend_init(struct dm1105dvb *dm1105dvb) |
689 | { | 694 | { |
690 | int ret; | 695 | int ret; |
@@ -694,6 +699,14 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb) | |||
694 | dm1105dvb->fe = dvb_attach( | 699 | dm1105dvb->fe = dvb_attach( |
695 | cx24116_attach, &serit_sp2633_config, | 700 | cx24116_attach, &serit_sp2633_config, |
696 | &dm1105dvb->i2c_adap); | 701 | &dm1105dvb->i2c_adap); |
702 | if (dm1105dvb->fe) { | ||
703 | dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage; | ||
704 | break; | ||
705 | } | ||
706 | |||
707 | dm1105dvb->fe = dvb_attach( | ||
708 | ds3000_attach, &dvbworld_ds3000_config, | ||
709 | &dm1105dvb->i2c_adap); | ||
697 | if (dm1105dvb->fe) | 710 | if (dm1105dvb->fe) |
698 | dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage; | 711 | dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage; |
699 | 712 | ||