* [linux-dvb] Patch to support VP-2040
@ 2008-04-21 18:40 Magnus Hörlin
0 siblings, 0 replies; only message in thread
From: Magnus Hörlin @ 2008-04-21 18:40 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1: Type: text/plain, Size: 79 bytes --]
Hi. This patch adds support for Azurewave AD-CP400 (Mantis VP-2040).
/Magnus H
[-- Attachment #2: mantis-vp2040.diff --]
[-- Type: text/x-patch, Size: 1735 bytes --]
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;
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-21 19:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 18:40 [linux-dvb] Patch to support VP-2040 Magnus Hörlin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox