Skip to contentSkip to conversation

Add support DVB-T for the Beholder H6 card.

PATCH New Dmitri Belimov 1 participant 1 message Dec 23, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 Add support DVB-T for the Beholder H6 card.

Hi all

Add the Beholder H6 card to DVB-T part of sources.

linux/drivers/media/video/saa7134/saa7134-dvb.c +18 -0
diff -r 6032ecd6ad7e linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -48,6 +48,8 @@
 #include "isl6405.h"
 #include "lnbp21.h"
 #include "tuner-simple.h"
+
+#include "zl10353.h"
 
 MODULE_AUTHOR("Gerd Knorr <[email protected]> [SuSE Labs]");
 MODULE_LICENSE("GPL");
@@ -838,6 +840,12 @@
 	.if_freq       = TDA10046_FREQ_045,
 	.tuner_address = 0x61,
 	.request_firmware = philips_tda1004x_request_firmware
+};
+
+static struct zl10353_config behold_h6_config = {
+	.demod_address = 0x1e>>1,
+	.no_tuner      = 1,
+	.parallel_ts   = 1,
 };
 
 /* ==================================================================
@@ -1304,6 +1312,16 @@
 						&dev->i2c_adap);
 		attach_xc3028 = 1;
 		break;
+	case SAA7134_BOARD_BEHOLD_H6:
+		dev->dvb.frontend = dvb_attach(zl10353_attach,
+						&behold_h6_config,
+						&dev->i2c_adap);
+		if (dev->dvb.frontend) {
+			dvb_attach(simple_tuner_attach, dev->dvb.frontend,
+				   &dev->i2c_adap, 0x61,
+				   TUNER_PHILIPS_FMD1216ME_MK3);
+		}
+		break;
 	default:
 		wprintk("Huh? unknown DVB card?\n");
 		break;

With my best regards, Dmitry.

linux/drivers/media/video/saa7134/saa7134-dvb.c +18 -0
diff -r 6032ecd6ad7e linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -48,6 +48,8 @@
 #include "isl6405.h"
 #include "lnbp21.h"
 #include "tuner-simple.h"
+
+#include "zl10353.h"
 
 MODULE_AUTHOR("Gerd Knorr <[email protected]> [SuSE Labs]");
 MODULE_LICENSE("GPL");
@@ -838,6 +840,12 @@
 	.if_freq       = TDA10046_FREQ_045,
 	.tuner_address = 0x61,
 	.request_firmware = philips_tda1004x_request_firmware
+};
+
+static struct zl10353_config behold_h6_config = {
+	.demod_address = 0x1e>>1,
+	.no_tuner      = 1,
+	.parallel_ts   = 1,
 };
 
 /* ==================================================================
@@ -1304,6 +1312,16 @@
 						&dev->i2c_adap);
 		attach_xc3028 = 1;
 		break;
+	case SAA7134_BOARD_BEHOLD_H6:
+		dev->dvb.frontend = dvb_attach(zl10353_attach,
+						&behold_h6_config,
+						&dev->i2c_adap);
+		if (dev->dvb.frontend) {
+			dvb_attach(simple_tuner_attach, dev->dvb.frontend,
+				   &dev->i2c_adap, 0x61,
+				   TUNER_PHILIPS_FMD1216ME_MK3);
+		}
+		break;
 	default:
 		wprintk("Huh? unknown DVB card?\n");
 		break;

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list