public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Magnus Hörlin" <magnus@alefors.se>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Patch to support VP-2040
Date: Mon, 21 Apr 2008 20:40:09 +0200	[thread overview]
Message-ID: <480CDF89.8010602@alefors.se> (raw)

[-- 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

                 reply	other threads:[~2008-04-21 19:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=480CDF89.8010602@alefors.se \
    --to=magnus@alefors.se \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox