Re: [PATCH] DViCO FusionHDTV DVB-T Lite rev2 (zl10353)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Krufky wrote:
Martin Petrovsky wrote:

Thanks very much Michael,

The patch worked wonderfully.

I can scan for channels and I can watch TV.

I had to an assignment to equality change that Christoper suggested.

Thanks for your help,

This is the revised version of the patch with the typo fixed. (s/'='/'=='/1)

---

This patch adds support for the new revision of the DViCO FusionHDTV DVB-T Lite, based on the zl10353 demod instead of mt352.

Both mt352 and zl10353 revisions of this card have the same PCI subsystem ID.

Signed-off-by: Michael Krufky <mkrufky@xxxxxxxxxxx>
------------------------------------------------------------------------

diff -r b909c6ce52e3 linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c	Mon Apr 10 12:40:40 2006
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c	Mon Apr 10 21:03:47 2006
@@ -182,6 +182,11 @@
 static struct mt352_config thomson_dtt7579_config = {
 	.demod_address = 0x0f,
 	.demod_init = thomson_dtt7579_demod_init,
+	.pll_set = thomson_dtt7579_pll_set,
+};
+
+static struct zl10353_config thomson_dtt7579_zl10353_config = {
+	.demod_address = 0x0f,
 	.pll_set = thomson_dtt7579_pll_set,
 };
@@ -618,6 +623,11 @@
 	switch(type) {
 	case BTTV_BOARD_DVICO_DVBT_LITE:
 		card->fe = mt352_attach(&thomson_dtt7579_config, card->i2c_adapter);
+
+		if (card->fe == NULL)
+			card->fe = zl10353_attach(&thomson_dtt7579_zl10353_config,
+						  card->i2c_adapter);
+
 		if (card->fe != NULL) {
 			card->fe->ops->info.frequency_min = 174000000;
 			card->fe->ops->info.frequency_max = 862000000;
diff -r b909c6ce52e3 linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h	Mon Apr 10 12:40:40 2006
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.h	Mon Apr 10 21:03:47 2006
@@ -40,6 +40,7 @@
 #include "cx24110.h"
 #include "or51211.h"
 #include "lgdt330x.h"
+#include "zl10353.h"
struct dvb_bt8xx_card {
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)

Ack'd-by: Manu Abraham <manu@xxxxxxxxxxx>



_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux