aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index 9d61d74fabd4..72fd9fed8a34 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -43,6 +43,7 @@
43#include "tda826x.h" 43#include "tda826x.h"
44#include "tda827x.h" 44#include "tda827x.h"
45#include "isl6421.h" 45#include "isl6421.h"
46#include "isl6405.h"
46 47
47MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); 48MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]");
48MODULE_LICENSE("GPL"); 49MODULE_LICENSE("GPL");
@@ -990,7 +991,22 @@ static int dvb_init(struct saa7134_dev *dev)
990 configure_tda827x_fe(dev, &tevion_dvbt220rf_config); 991 configure_tda827x_fe(dev, &tevion_dvbt220rf_config);
991 break; 992 break;
992 case SAA7134_BOARD_MEDION_MD8800_QUADRO: 993 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
993 configure_tda827x_fe(dev, &md8800_dvbt_config); 994 if (!use_frontend) { /* terrestrial */
995 configure_tda827x_fe(dev, &md8800_dvbt_config);
996 } else { /* satellite */
997 dev->dvb.frontend = dvb_attach(tda10086_attach,
998 &flydvbs, &dev->i2c_adap);
999 if (dev->dvb.frontend) {
1000 if (dvb_attach(tda826x_attach, dev->dvb.frontend,
1001 0x60, &dev->i2c_adap, 0) == NULL)
1002 wprintk("%s: Medion Quadro, no tda826x "
1003 "found !\n", __FUNCTION__);
1004 if (dvb_attach(isl6405_attach, dev->dvb.frontend,
1005 &dev->i2c_adap, 0x08, 0, 0) == NULL)
1006 wprintk("%s: Medion Quadro, no ISL6405 "
1007 "found !\n", __FUNCTION__);
1008 }
1009 }
994 break; 1010 break;
995 case SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180: 1011 case SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180:
996 dev->dvb.frontend = dvb_attach(nxt200x_attach, &avertvhda180, 1012 dev->dvb.frontend = dvb_attach(nxt200x_attach, &avertvhda180,