From: "Michael Büsch" <m@bues.ch>
To: Antti Palosaari <crope@iki.fi>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: [PATCH] af9035: Add Afatech USB PIDs
Date: Mon, 2 Apr 2012 18:34:52 +0200 [thread overview]
Message-ID: <20120402183452.68670fb3@milhouse> (raw)
[-- Attachment #1: Type: text/plain, Size: 2048 bytes --]
Add some generic Afatech USB PIDs used by "Cabstone" sticks and others.
Signed-off-by: Michael Buesch <m@bues.ch>
---
Index: linux/drivers/media/dvb/dvb-usb/af9035.c
===================================================================
--- linux.orig/drivers/media/dvb/dvb-usb/af9035.c 2012-04-02 18:15:46.946952566 +0200
+++ linux/drivers/media/dvb/dvb-usb/af9035.c 2012-04-02 18:27:59.672754125 +0200
@@ -738,11 +738,17 @@
enum af9035_id_entry {
AF9035_0CCD_0093,
+ AF9035_15A4_9035,
+ AF9035_15A4_1001,
};
static struct usb_device_id af9035_id[] = {
[AF9035_0CCD_0093] = {
USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK)},
+ [AF9035_15A4_9035] = {
+ USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035)},
+ [AF9035_15A4_1001] = {
+ USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_2)},
{},
};
@@ -785,14 +791,20 @@
.i2c_algo = &af9035_i2c_algo,
- .num_device_descs = 1,
+ .num_device_descs = 2,
.devices = {
{
.name = "TerraTec Cinergy T Stick",
.cold_ids = {
&af9035_id[AF9035_0CCD_0093],
},
- },
+ }, {
+ .name = "Afatech Technologies DVB-T stick",
+ .cold_ids = {
+ &af9035_id[AF9035_15A4_9035],
+ &af9035_id[AF9035_15A4_1001],
+ },
+ }
}
},
};
Index: linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
===================================================================
--- linux.orig/drivers/media/dvb/dvb-usb/dvb-usb-ids.h 2012-04-01 11:41:29.094353520 +0200
+++ linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h 2012-04-02 18:26:34.386272276 +0200
@@ -76,6 +76,8 @@
#define USB_PID_AFATECH_AF9005 0x9020
#define USB_PID_AFATECH_AF9015_9015 0x9015
#define USB_PID_AFATECH_AF9015_9016 0x9016
+#define USB_PID_AFATECH_AF9035 0x9035
+#define USB_PID_AFATECH_AF9035_2 0x1001
#define USB_PID_TREKSTOR_DVBT 0x901b
#define USB_VID_ALINK_DTU 0xf170
#define USB_PID_ANSONIC_DVBT_USB 0x6000
--
Greetings, Michael.
PGP encryption is encouraged / 908D8B0E
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2012-04-02 16:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 16:34 Michael Büsch [this message]
2012-04-02 17:04 ` [PATCH] af9035: Add Afatech USB PIDs Antti Palosaari
2012-04-02 17:22 ` Michael Büsch
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=20120402183452.68670fb3@milhouse \
--to=m@bues.ch \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).