diff options
author | Igor M. Liplianin <liplianin@me.by> | 2006-08-08 08:10:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:30 -0400 |
commit | e2ac28fa15696d3d9dc38923438ad39fe1235ecd (patch) | |
tree | a6664aca84160e6ada67ca852180e08e435d63a8 /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | adc619ac6e3d3b4a175476b915befe37650ee109 (diff) |
V4L/DVB (4398): Add support for Acorp TV134DS + FlyDVB-S cards.
Add support for Acorp TV134DS and FlyDVB-S cards (both based on
tda10086+tda826x)
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index fdd1bb51e80..e2d366b8fbe 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -39,6 +39,9 @@ | |||
39 | #include "tda1004x.h" | 39 | #include "tda1004x.h" |
40 | #include "nxt200x.h" | 40 | #include "nxt200x.h" |
41 | 41 | ||
42 | #include "tda10086.h" | ||
43 | #include "tda826x.h" | ||
44 | #include "isl6421.h" | ||
42 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 45 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
43 | MODULE_LICENSE("GPL"); | 46 | MODULE_LICENSE("GPL"); |
44 | 47 | ||
@@ -1002,6 +1005,11 @@ static struct tda1004x_config md8800_dvbt_config = { | |||
1002 | .request_firmware = NULL, | 1005 | .request_firmware = NULL, |
1003 | }; | 1006 | }; |
1004 | 1007 | ||
1008 | static struct tda10086_config flydvbs = { | ||
1009 | .demod_address = 0x0e, | ||
1010 | .invert = 0, | ||
1011 | }; | ||
1012 | |||
1005 | /* ------------------------------------------------------------------ */ | 1013 | /* ------------------------------------------------------------------ */ |
1006 | 1014 | ||
1007 | static struct nxt200x_config avertvhda180 = { | 1015 | static struct nxt200x_config avertvhda180 = { |
@@ -1199,6 +1207,17 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1199 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, &dev->i2c_adap, &dvb_pll_tuv1236d); | 1207 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, &dev->i2c_adap, &dvb_pll_tuv1236d); |
1200 | } | 1208 | } |
1201 | break; | 1209 | break; |
1210 | case SAA7134_BOARD_FLYDVBS_LR300: | ||
1211 | dev->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, &dev->i2c_adap); | ||
1212 | if (dev->dvb.frontend) { | ||
1213 | if (dvb_attach(tda826x_attach, dev->dvb.frontend, 0x60, &dev->i2c_adap, 0) == NULL) { | ||
1214 | printk("%s: No tda826x found!\n", __FUNCTION__); | ||
1215 | } | ||
1216 | if (dvb_attach(isl6421_attach, dev->dvb.frontend, &dev->i2c_adap, 0x08, 0, 0) == NULL) { | ||
1217 | printk("%s: No ISL6421 found!\n", __FUNCTION__); | ||
1218 | } | ||
1219 | } | ||
1220 | break; | ||
1202 | default: | 1221 | default: |
1203 | printk("%s: Huh? unknown DVB card?\n",dev->name); | 1222 | printk("%s: Huh? unknown DVB card?\n",dev->name); |
1204 | break; | 1223 | break; |