Re: Push AF9005 driver to main repo?

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

 



En/na Mauro Carvalho Chehab ha escrit:
Hi Luca,

Em Sex, 2007-05-04 às 00:16 +0200, Luca Olivetti escreveu:
En/na Luca Olivetti ha escrit:

  > Ok, done. I also added a dependency on qt1010 in Kconfig (forgot to do
it when I added qt1010 support) and corrected the experimental gain reduction of the mt2060 in case of strong signal (though it is code included in #ifdef 0) - a patch that I send on the mailing list.
Due to the size I compressed the patch, I hope it is ok.
And I forgot to exclude dvb-usb-ids.h.orig, so it was in the patch, please remove it or tell me if I shuld re-send the patch without it.

To avoid losing Manu's SOB at the first patch you've sent, I'm applying
the patches from Manu's tree, then the diff between his tree and the
patch you've sent. I need, however, your SOB. The diff between Manu's
patch and the one you've sent is enclosed.

Could you sign it?

Sure

Signed-off-by: Luca Olivetti <luca@xxxxxxxxxxx>

Bye
--
Luca


diff -r 50c77dd2bcf8 linux/drivers/media/dvb/dvb-usb/Kconfig
--- a/linux/drivers/media/dvb/dvb-usb/Kconfig	Mon May 07 15:19:32 2007 -0300
+++ b/linux/drivers/media/dvb/dvb-usb/Kconfig	Mon May 07 15:35:57 2007 -0300
@@ -221,8 +221,9 @@ config DVB_USB_OPERA1
 
 config DVB_USB_AF9005
 	tristate "Afatech AF9005 DVB-T USB1.1 support"
-	depends on DVB_USB
-	select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE
+	depends on DVB_USB && EXPERIMENTAL
+	select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE
+	select DVB_TUNER_QT1010 if !DVB_FE_CUSTOMISE
 	help
 	  Say Y here to support the Afatech AF9005 based DVB-T USB1.1 receiver
 	  and the TerraTec Cinergy T USB XE (Rev.1)
@@ -231,5 +232,6 @@ config DVB_USB_AF9005_REMOTE
 	tristate "Afatech AF9005 default remote control support"
 	depends on DVB_USB_AF9005
 	help
-	  Say Y here to support the default remote control decoding for the 
+	  Say Y here to support the default remote control decoding for the
 	  Afatech AF9005 based receiver.
+
diff -r 50c77dd2bcf8 linux/drivers/media/dvb/dvb-usb/af9005-fe.c
--- a/linux/drivers/media/dvb/dvb-usb/af9005-fe.c	Mon May 07 15:19:32 2007 -0300
+++ b/linux/drivers/media/dvb/dvb-usb/af9005-fe.c	Mon May 07 15:35:57 2007 -0300
@@ -403,8 +403,8 @@ static int af9005_get_statistic(struct d
 	if (ret == 0) {
 		af9005_reset_pre_viterbi(fe);
 		if (state->pre_vit_bit_count > 0) {
-			/* according to v 0.0.4 of the dvb api ber should be a multiple 
-			   of 10E-9 so we have to multiply the error count by 
+			/* according to v 0.0.4 of the dvb api ber should be a multiple
+			   of 10E-9 so we have to multiply the error count by
 			   10E9=1000000000 */
 			numerator =
 			    (u64) state->pre_vit_error_count * (u64) 1000000000;
@@ -495,7 +495,7 @@ static int af9005_fe_read_status(struct 
 #if 0
 		/* adjust mt2060 for strong signal (test) */
 		buf[0] = 0x0b;
-		if (strong) {
+		if (temp) {
 			buf[1] = 0x30;
 		} else {
 			buf[1] = 0x33;
@@ -878,7 +878,7 @@ static int af9005_fe_init(struct dvb_fro
 	if (i == 150)
 		return -ETIMEDOUT;
 
-	/*FIXME in the dump 
+	/*FIXME in the dump
 	   write B200 A9
 	   write xd_g_reg_ofsm_clk 7
 	   read eepr c6 (2)
_______________________________________________
linux-dvb mailing list
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