aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2008-09-13 19:56:59 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:06 -0400
commit35d9c42779ef5e8cb46902bb6987443e136c0517 (patch)
tree043831fd476d77c848b3df591ccf02d2677859ee /drivers/media
parent490c868408bc57a756550148313ac8582fe501ef (diff)
V4L/DVB (9012): Add support for DvbWorld 2004 DVB-S2 PCI adapter
Add support for DvbWorld 2004 DVB-S2 PCI adapter. The card contains dm1105 PCI chip and cx24116 demodulator Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/Kconfig2
-rw-r--r--drivers/media/dvb/dm1105/Kconfig19
-rw-r--r--drivers/media/dvb/dm1105/dm1105.c10
3 files changed, 14 insertions, 17 deletions
diff --git a/drivers/media/dvb/Kconfig b/drivers/media/dvb/Kconfig
index 5858744e70de..14488f644792 100644
--- a/drivers/media/dvb/Kconfig
+++ b/drivers/media/dvb/Kconfig
@@ -36,7 +36,7 @@ comment "Supported Pluto2 Adapters"
36source "drivers/media/dvb/pluto2/Kconfig" 36source "drivers/media/dvb/pluto2/Kconfig"
37 37
38comment "Supported SDMC DM1105 Adapters" 38comment "Supported SDMC DM1105 Adapters"
39 depends on DVB_CORE && PCI && I2C 39 depends on DVB_CORE && PCI && I2C
40source "drivers/media/dvb/dm1105/Kconfig" 40source "drivers/media/dvb/dm1105/Kconfig"
41 41
42comment "Supported DVB Frontends" 42comment "Supported DVB Frontends"
diff --git a/drivers/media/dvb/dm1105/Kconfig b/drivers/media/dvb/dm1105/Kconfig
index fc2ca7dca6b2..4b96bbba9f42 100644
--- a/drivers/media/dvb/dm1105/Kconfig
+++ b/drivers/media/dvb/dm1105/Kconfig
@@ -1,14 +1,15 @@
1config DVB_DM1105 1config DVB_DM1105
2 tristate "SDMC DM1105 based PCI cards" 2 tristate "SDMC DM1105 based PCI cards"
3 depends on DVB_CORE && PCI && I2C 3 depends on DVB_CORE && PCI && I2C
4 select DVB_PLL if !DVB_FE_CUSTOMISE 4 select DVB_PLL if !DVB_FE_CUSTOMISE
5 select DVB_STV0299 if !DVB_FE_CUSTOMISE 5 select DVB_STV0299 if !DVB_FE_CUSTOMISE
6 help 6 select DVB_CX24116 if !DVB_FE_CUSTOMISE
7 Support for cards based on the SDMC DM1105 PCI chip like 7 help
8 DvbWorld 2002 8 Support for cards based on the SDMC DM1105 PCI chip like
9 DvbWorld 2002
9 10
10 Since these cards have no MPEG decoder onboard, they transmit 11 Since these cards have no MPEG decoder onboard, they transmit
11 only compressed MPEG data over the PCI bus, so you need 12 only compressed MPEG data over the PCI bus, so you need
12 an external software decoder to watch TV on your computer. 13 an external software decoder to watch TV on your computer.
13 14
14 Say Y or M if you own such a device and want to use it. 15 Say Y or M if you own such a device and want to use it.
diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c
index fe8d0e58c0ea..204763d2de41 100644
--- a/drivers/media/dvb/dm1105/dm1105.c
+++ b/drivers/media/dvb/dm1105/dm1105.c
@@ -41,8 +41,8 @@
41#include "stv0299.h" 41#include "stv0299.h"
42/*#include "stv0288.h" 42/*#include "stv0288.h"
43 *#include "si21xx.h" 43 *#include "si21xx.h"
44 *#include "stb6000.h" 44 *#include "stb6000.h"*/
45 *#include "cx24116.h"*/ 45#include "cx24116.h"
46#include "z0194a.h" 46#include "z0194a.h"
47 47
48/* ----------------------------------------------- */ 48/* ----------------------------------------------- */
@@ -605,11 +605,11 @@ static struct si21xx_config serit_config = {
605 .min_delay_ms = 100, 605 .min_delay_ms = 100,
606 606
607}; 607};
608#endif /* keep */
608 609
609static struct cx24116_config serit_sp2633_config = { 610static struct cx24116_config serit_sp2633_config = {
610 .demod_address = 0x55, 611 .demod_address = 0x55,
611}; 612};
612#endif /* keep */
613 613
614static int __devinit frontend_init(struct dm1105dvb *dm1105dvb) 614static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
615{ 615{
@@ -651,15 +651,11 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
651#endif /* keep */ 651#endif /* keep */
652 break; 652 break;
653 case PCI_DEVICE_ID_DW2004: 653 case PCI_DEVICE_ID_DW2004:
654#if 0
655 dm1105dvb->fe = dvb_attach( 654 dm1105dvb->fe = dvb_attach(
656 cx24116_attach, &serit_sp2633_config, 655 cx24116_attach, &serit_sp2633_config,
657 &dm1105dvb->i2c_adap); 656 &dm1105dvb->i2c_adap);
658 if (dm1105dvb->fe) 657 if (dm1105dvb->fe)
659 dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage; 658 dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage;
660#else /* keep */
661 dev_err(&dm1105dvb->pdev->dev, "needs cx24116 module\n");
662#endif /* keep */
663 break; 659 break;
664 } 660 }
665 661