diff options
author | Igor M. Liplianin <liplianin@me.by> | 2009-08-13 20:42:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:18:57 -0400 |
commit | ecfcfec80493097967aa40e3433d65a8ff65c86b (patch) | |
tree | 8d9008465a1909e724a7bd496771cb128900ff55 /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | d0a1ddad1c9723f4a61e9b216c4c34ac03344fdd (diff) |
V4L/DVB (12463): Add support for Compro VideoMate S350 DVB-S PCI card.
Add Compro VideoMate S350 DVB-S driver.
The card uses zl10313, zl10039, saa7130 integrated circuits.
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 2ac3f1f2f53e..ebde21dba7e3 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -56,6 +56,7 @@ | |||
56 | #include "zl10353.h" | 56 | #include "zl10353.h" |
57 | 57 | ||
58 | #include "zl10036.h" | 58 | #include "zl10036.h" |
59 | #include "zl10039.h" | ||
59 | #include "mt312.h" | 60 | #include "mt312.h" |
60 | 61 | ||
61 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 62 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
@@ -968,6 +969,10 @@ static struct zl10036_config avertv_a700_tuner = { | |||
968 | .tuner_address = 0x60, | 969 | .tuner_address = 0x60, |
969 | }; | 970 | }; |
970 | 971 | ||
972 | static struct mt312_config zl10313_compro_s350_config = { | ||
973 | .demod_address = 0x0e, | ||
974 | }; | ||
975 | |||
971 | static struct lgdt3305_config hcw_lgdt3305_config = { | 976 | static struct lgdt3305_config hcw_lgdt3305_config = { |
972 | .i2c_addr = 0x0e, | 977 | .i2c_addr = 0x0e, |
973 | .mpeg_mode = LGDT3305_MPEG_SERIAL, | 978 | .mpeg_mode = LGDT3305_MPEG_SERIAL, |
@@ -1473,6 +1478,16 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1473 | } | 1478 | } |
1474 | } | 1479 | } |
1475 | break; | 1480 | break; |
1481 | case SAA7134_BOARD_VIDEOMATE_S350: | ||
1482 | fe0->dvb.frontend = dvb_attach(mt312_attach, | ||
1483 | &zl10313_compro_s350_config, &dev->i2c_adap); | ||
1484 | if (fe0->dvb.frontend) | ||
1485 | if (dvb_attach(zl10039_attach, fe0->dvb.frontend, | ||
1486 | 0x60, &dev->i2c_adap) == NULL) | ||
1487 | wprintk("%s: No zl10039 found!\n", | ||
1488 | __func__); | ||
1489 | |||
1490 | break; | ||
1476 | default: | 1491 | default: |
1477 | wprintk("Huh? unknown DVB card?\n"); | 1492 | wprintk("Huh? unknown DVB card?\n"); |
1478 | break; | 1493 | break; |