Patch to support VP-2040

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

 



Hi. This patch adds support for Azurewave AD-CP400 (Mantis VP-2040).
/Magnus H
diff -Nru mantis-b7b8a2a81f3e/linux/drivers/media/dvb/mantis/mantis_core.c mantis-new/linux/drivers/media/dvb/mantis/mantis_core.c
--- mantis-b7b8a2a81f3e/linux/drivers/media/dvb/mantis/mantis_core.c	2008-04-16 13:22:16.000000000 +0200
+++ mantis-new/linux/drivers/media/dvb/mantis/mantis_core.c	2008-04-21 11:45:18.000000000 +0200
@@ -119,6 +119,7 @@
 	case MANTIS_VP_2033_DVB_C:	// VP-2033
 		mantis->hwconfig = &vp2033_mantis_config;
 		break;
+	case MANTIS_VP_2040_DVB_C:	// VP-2040
 	case TERRATEC_CINERGY_C_PCI:	// VP-2040 clone
 		mantis->hwconfig = &vp2040_mantis_config;
 		break;
diff -Nru mantis-b7b8a2a81f3e/linux/drivers/media/dvb/mantis/mantis_dvb.c mantis-new/linux/drivers/media/dvb/mantis/mantis_dvb.c
--- mantis-b7b8a2a81f3e/linux/drivers/media/dvb/mantis/mantis_dvb.c	2008-04-16 13:22:16.000000000 +0200
+++ mantis-new/linux/drivers/media/dvb/mantis/mantis_dvb.c	2008-04-21 11:46:37.000000000 +0200
@@ -273,6 +273,7 @@
 
 		}
 		break;
+	case MANTIS_VP_2040_DVB_C:	// VP-2040
 	case TERRATEC_CINERGY_C_PCI:
 		dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
 		mantis->fe = tda10023_attach(&tda10023_cu1216_config, &mantis->adapter, read_pwm(mantis));
diff -Nru mantis-b7b8a2a81f3e/linux/drivers/media/dvb/mantis/mantis_vp2040.h mantis-new/linux/drivers/media/dvb/mantis/mantis_vp2040.h
--- mantis-b7b8a2a81f3e/linux/drivers/media/dvb/mantis/mantis_vp2040.h	2008-04-21 11:56:49.000000000 +0200
+++ mantis-new/linux/drivers/media/dvb/mantis/mantis_vp2040.h	2008-04-21 12:29:28.000000000 +0200
@@ -25,6 +25,7 @@
 #include "mantis_common.h"
 #include "tda1002x.h"
 
+#define MANTIS_VP_2040_DVB_C    0x0043
 #define TERRATEC_CINERGY_C_PCI	0x1178
 
 extern struct tda1002x_config tda10023_cu1216_config;
_______________________________________________
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