V4L/DVB (9012): Add support for DvbWorld 2004 DVB-S2 PCI adapter
authorIgor M. Liplianin <liplianin@me.by>
Sat, 13 Sep 2008 23:56:59 +0000 (20:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:06 +0000 (09:37 -0200)
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>
drivers/media/dvb/Kconfig
drivers/media/dvb/dm1105/Kconfig
drivers/media/dvb/dm1105/dm1105.c

index 5858744e70de8adba5f8e59558293a51cd752602..14488f644792ba68a9037812d6f617b14451050c 100644 (file)
@@ -36,7 +36,7 @@ comment "Supported Pluto2 Adapters"
 source "drivers/media/dvb/pluto2/Kconfig"
 
 comment "Supported SDMC DM1105 Adapters"
-        depends on DVB_CORE && PCI && I2C
+       depends on DVB_CORE && PCI && I2C
 source "drivers/media/dvb/dm1105/Kconfig"
 
 comment "Supported DVB Frontends"
index fc2ca7dca6b21793de3093e2ef503a9fd5d7e9cd..4b96bbba9f42de4a90db6efb6b4840a9191d07a9 100644 (file)
@@ -1,14 +1,15 @@
 config DVB_DM1105
-        tristate "SDMC DM1105 based PCI cards"
-        depends on DVB_CORE && PCI && I2C
+       tristate "SDMC DM1105 based PCI cards"
+       depends on DVB_CORE && PCI && I2C
        select DVB_PLL if !DVB_FE_CUSTOMISE
        select DVB_STV0299 if !DVB_FE_CUSTOMISE
-        help
-          Support for cards based on the SDMC DM1105 PCI chip like
-          DvbWorld 2002
+       select DVB_CX24116 if !DVB_FE_CUSTOMISE
+       help
+         Support for cards based on the SDMC DM1105 PCI chip like
+         DvbWorld 2002
 
-          Since these cards have no MPEG decoder onboard, they transmit
-          only compressed MPEG data over the PCI bus, so you need
-          an external software decoder to watch TV on your computer.
+         Since these cards have no MPEG decoder onboard, they transmit
+         only compressed MPEG data over the PCI bus, so you need
+         an external software decoder to watch TV on your computer.
 
-          Say Y or M if you own such a device and want to use it.
+         Say Y or M if you own such a device and want to use it.
index fe8d0e58c0ea02632f1d0d58e6ed20e166691e5f..204763d2de4100900760098131443c24f96e36a1 100644 (file)
@@ -41,8 +41,8 @@
 #include "stv0299.h"
 /*#include "stv0288.h"
  *#include "si21xx.h"
- *#include "stb6000.h"
- *#include "cx24116.h"*/
+ *#include "stb6000.h"*/
+#include "cx24116.h"
 #include "z0194a.h"
 
 /* ----------------------------------------------- */
@@ -605,11 +605,11 @@ static struct si21xx_config serit_config = {
        .min_delay_ms = 100,
 
 };
+#endif /* keep */
 
 static struct cx24116_config serit_sp2633_config = {
        .demod_address = 0x55,
 };
-#endif /* keep */
 
 static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
 {
@@ -651,15 +651,11 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
 #endif /* keep */
                break;
        case PCI_DEVICE_ID_DW2004:
-#if 0
                dm1105dvb->fe = dvb_attach(
                        cx24116_attach, &serit_sp2633_config,
                        &dm1105dvb->i2c_adap);
                if (dm1105dvb->fe)
                        dm1105dvb->fe->ops.set_voltage = dm1105dvb_set_voltage;
-#else /* keep */
-               dev_err(&dm1105dvb->pdev->dev, "needs cx24116 module\n");
-#endif /* keep */
                break;
        }