diff mbox

af9015: support for KWorld MC810

Message ID 1240891882.8474.86.camel@jazz.tp.novell.net.tw (mailing list archive)
State Accepted
Headers show

Commit Message

Jesse Sung April 28, 2009, 4:11 a.m. UTC

Comments

Antti Palosaari April 28, 2009, 9:44 a.m. UTC | #1
On 04/28/2009 07:11 AM, Jesse Sung wrote:

Acked-by: Antti Palosaari <crope@iki.fi>

regards
Aantti
diff mbox

Patch

# HG changeset patch
# User Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>
# Date 1240830884 -28800
# Node ID 320b752733803ce674ddcd97645f4873bcae5e27
# Parent  2a6d95947fa1ab72a23c7aabe15dfef52e5b6d8c
af9015: support for KWorld MC810

From: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>

Add USB ID (1b80:c810) for Kworld MC810.

Priority: normal

Signed-off-by: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>

diff --git a/linux/drivers/media/dvb/dvb-usb/af9015.c b/linux/drivers/media/dvb/dvb-usb/af9015.c
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c
@@ -1267,6 +1267,7 @@  static struct usb_device_id af9015_usb_t
 /* 20 */{USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A850)},
 	{USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A805)},
 	{USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_CONCEPTRONIC_CTVDIGRCU)},
+	{USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_KWORLD_MC810)},
 	{0},
 };
 MODULE_DEVICE_TABLE(usb, af9015_usb_table);
@@ -1537,7 +1538,7 @@  static struct dvb_usb_device_properties 
 
 		.i2c_algo = &af9015_i2c_algo,
 
-		.num_device_descs = 2, /* max 9 */
+		.num_device_descs = 3, /* max 9 */
 		.devices = {
 			{
 				.name = "AverMedia AVerTV Volar GPS 805 (A805)",
@@ -1550,6 +1551,11 @@  static struct dvb_usb_device_properties 
 				.cold_ids = {&af9015_usb_table[22], NULL},
 				.warm_ids = {NULL},
 			},
+			{
+				.name = "KWorld Digial MC-810",
+				.cold_ids = {&af9015_usb_table[23], NULL},
+				.warm_ids = {NULL},
+			},
 		}
 	},
 };
diff --git a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -105,6 +105,7 @@ 
 #define USB_PID_KWORLD_395U				0xe396
 #define USB_PID_KWORLD_395U_2				0xe39b
 #define USB_PID_KWORLD_395U_3				0xe395
+#define USB_PID_KWORLD_MC810				0xc810
 #define USB_PID_KWORLD_PC160_2T				0xc160
 #define USB_PID_KWORLD_VSTREAM_COLD			0x17de
 #define USB_PID_KWORLD_VSTREAM_WARM			0x17df