diff options
author | Igor M. Liplianin <liplianin@me.by> | 2008-09-23 21:43:57 +0300 |
---|---|---|
committer | Igor M. Liplianin <liplianin@me.by> | 2008-09-23 21:43:57 +0300 |
commit | 60068c572f087679b3b93155ec10c660ea932da8 (patch) | |
tree | 2080db57d978e683dce81b8cf5b5a0b4975834a1 /linux/drivers/media/dvb/dm1105/dm1105.c | |
parent | b5c6a451c061b83cfe6f69eb794646879afd7025 (diff) | |
download | mediapointer-dvb-s2-60068c572f087679b3b93155ec10c660ea932da8.tar.gz mediapointer-dvb-s2-60068c572f087679b3b93155ec10c660ea932da8.tar.bz2 |
Add support for ST STV0288 demodulator and cards with it.
From: Georg Acher <acher@baycom.de>
From: Igor M. Liplianin <liplianin@me.by>
Add support for ST STV0288 demodulator and cards with it,
such as TeVii S420.
Signed-off by: Georg Acher <acher@baycom.de>
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Diffstat (limited to 'linux/drivers/media/dvb/dm1105/dm1105.c')
-rw-r--r-- | linux/drivers/media/dvb/dm1105/dm1105.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dm1105/dm1105.c b/linux/drivers/media/dvb/dm1105/dm1105.c index 767fa530f..07ebe639f 100644 --- a/linux/drivers/media/dvb/dm1105/dm1105.c +++ b/linux/drivers/media/dvb/dm1105/dm1105.c @@ -39,8 +39,8 @@ #include "dvb-pll.h" #include "stv0299.h" -/*#include "stv0288.h" - *#include "stb6000.h"*/ +#include "stv0288.h" +#include "stb6000.h" #include "si21xx.h" #include "cx24116.h" #include "z0194a.h" @@ -602,13 +602,12 @@ static void dm1105dvb_hw_exit(struct dm1105dvb *dm1105dvb) dm1105dvb_dma_unmap(dm1105dvb); } -#if 0 /* keep */ + static struct stv0288_config earda_config = { .demod_address = 0x68, .min_delay_ms = 100, }; -#endif /* keep */ static struct si21xx_config serit_config = { .demod_address = 0x68, .min_delay_ms = 100, @@ -635,7 +634,7 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb) dvb_attach(dvb_pll_attach, dm1105dvb->fe, 0x60, &dm1105dvb->i2c_adap, DVB_PLL_OPERA1); } -#if 0 /* keep */ + if (!dm1105dvb->fe) { dm1105dvb->fe = dvb_attach( stv0288_attach, &earda_config, @@ -647,7 +646,7 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb) &dm1105dvb->i2c_adap); } } -#endif /* keep */ + if (!dm1105dvb->fe) { dm1105dvb->fe = dvb_attach( si21xx_attach, &serit_config, |