Skip to content

Commit

Permalink
V4L/DVB: Add Support for DVBWorld DVB-S2 PCI 2004D card
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Igor M. Liplianin authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 95480f2 commit b4a0e81
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/dm1105/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config DVB_DM1105
select DVB_STB6000 if !DVB_FE_CUSTOMISE
select DVB_CX24116 if !DVB_FE_CUSTOMISE
select DVB_SI21XX if !DVB_FE_CUSTOMISE
select DVB_DS3000 if !DVB_FE_CUSTOMISE
select VIDEO_IR
help
Support for cards based on the SDMC DM1105 PCI chip like
Expand Down
13 changes: 13 additions & 0 deletions drivers/media/dvb/dm1105/dm1105.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "si21xx.h"
#include "cx24116.h"
#include "z0194a.h"
#include "ds3000.h"

#define UNSET (-1U)

Expand Down Expand Up @@ -685,6 +686,10 @@ static struct cx24116_config serit_sp2633_config = {
.demod_address = 0x55,
};

static struct ds3000_config dvbworld_ds3000_config = {
.demod_address = 0x68,
};

static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
{
int ret;
Expand All @@ -694,6 +699,14 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
dm1105dvb->fe = dvb_attach(
cx24116_attach, &serit_sp2633_config,
&dm1105dvb->i2c_adap);
if (dm1105dvb->fe) {
dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage;
break;
}

dm1105dvb->fe = dvb_attach(
ds3000_attach, &dvbworld_ds3000_config,
&dm1105dvb->i2c_adap);
if (dm1105dvb->fe)
dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage;

Expand Down

0 comments on commit b4a0e81

Please sign in to comment.