summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2008-01-20 23:21:32 +0100
committerHartmut Hackmann <hartmut.hackmann@t-online.de>2008-01-20 23:21:32 +0100
commit03531e70020843d299ca505114c327f7f35d82a0 (patch)
tree8b1587cff5ae65ba6ce1c391775b48774de59d1a /linux/drivers/media/video/saa7134/saa7134-dvb.c
parent735733e74260f436310e1e000a462047281eedd9 (diff)
downloadmediapointer-dvb-s2-03531e70020843d299ca505114c327f7f35d82a0.tar.gz
mediapointer-dvb-s2-03531e70020843d299ca505114c327f7f35d82a0.tar.bz2
Initial DVB-S support for MD8800 /CTX948
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Support is not complete yet and untested. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index 3ca2378b9..0672da717 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -43,6 +43,7 @@
#include "tda826x.h"
#include "tda827x.h"
#include "isl6421.h"
+#include "isl6405.h"
MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]");
MODULE_LICENSE("GPL");
@@ -990,7 +991,22 @@ static int dvb_init(struct saa7134_dev *dev)
configure_tda827x_fe(dev, &tevion_dvbt220rf_config);
break;
case SAA7134_BOARD_MEDION_MD8800_QUADRO:
- configure_tda827x_fe(dev, &md8800_dvbt_config);
+ if (!use_frontend) { /* terrestrial */
+ configure_tda827x_fe(dev, &md8800_dvbt_config);
+ } else { /* satellite */
+ dev->dvb.frontend = dvb_attach(tda10086_attach,
+ &flydvbs, &dev->i2c_adap);
+ if (dev->dvb.frontend) {
+ if (dvb_attach(tda826x_attach, dev->dvb.frontend,
+ 0x60, &dev->i2c_adap, 0) == NULL)
+ wprintk("%s: Medion Quadro, no tda826x "
+ "found !\n", __FUNCTION__);
+ if (dvb_attach(isl6405_attach, dev->dvb.frontend,
+ &dev->i2c_adap, 0x08, 0, 0) == NULL)
+ wprintk("%s: Medion Quadro, no ISL6405 "
+ "found !\n", __FUNCTION__);
+ }
+ }
break;
case SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180:
dev->dvb.frontend = dvb_attach(nxt200x_attach, &avertvhda180,