aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2009-01-17 10:23:31 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:24 -0400
commitc9b8b04b267f9a7e472daa06cdf6d4963d503d1f (patch)
treebdcf257e093fdaf09c83d958ddf11622555c5fa3 /drivers/media/video/cx23885/cx23885-dvb.c
parentc7bdcd0f541efcb92c407c601ff7819a4a551f6f (diff)
V4L/DVB (10269): Add support for DVBWorld DVBS2 PCI-e 2005.
DVBWorld DVBS2 PCI-e 2005 card contains cx23885 PCI-e bridge and cx24116 demodulator. http://www.linuxtv.org/wiki/index.php/DVBWorld_DVB-S2_2005_PCI-Express_Card The card tested by me (Igor). Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index a6b62a7bf61..14a6540b826 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -331,6 +331,10 @@ static struct cx24116_config tevii_cx24116_config = {
331 .demod_address = 0x55, 331 .demod_address = 0x55,
332}; 332};
333 333
334static struct cx24116_config dvbworld_cx24116_config = {
335 .demod_address = 0x05,
336};
337
334static int dvb_register(struct cx23885_tsport *port) 338static int dvb_register(struct cx23885_tsport *port)
335{ 339{
336 struct cx23885_dev *dev = port->dev; 340 struct cx23885_dev *dev = port->dev;
@@ -569,6 +573,13 @@ static int dvb_register(struct cx23885_tsport *port)
569 fe0->dvb.frontend->ops.set_voltage = tbs_set_voltage; 573 fe0->dvb.frontend->ops.set_voltage = tbs_set_voltage;
570 574
571 break; 575 break;
576 case CX23885_BOARD_DVBWORLD_2005:
577 i2c_bus = &dev->i2c_bus[1];
578
579 fe0->dvb.frontend = dvb_attach(cx24116_attach,
580 &dvbworld_cx24116_config,
581 &i2c_bus->i2c_adap);
582 break;
572 default: 583 default:
573 printk(KERN_INFO "%s: The frontend of your DVB/ATSC card " 584 printk(KERN_INFO "%s: The frontend of your DVB/ATSC card "
574 " isn't supported yet\n", 585 " isn't supported yet\n",