aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorXoan Loureiro <x04n2.0@gmail.com>2009-03-29 07:43:36 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:47 -0400
commit16ba1ee5d2d4d5d3b7d69a7a2e49de393aa931e5 (patch)
tree9137b0438baff9bfcda5d6498695f6fdf08e981c /drivers/media
parent91b94366260fc4d960713c2e76e0fc874ff76992 (diff)
V4L/DVB (11289): Patch for Yuan MC770 DVB-T (1164:0871)
This patch adds support for the Yuan MC770 DVB-T (1164:0871). Thanks to Xoan Loureiro. Signed-off-by: Xoan Loureiro <x04n2.0@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c7
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb-ids.h1
2 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index 1dba4ea96756..48fa9f9927c1 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -1491,6 +1491,7 @@ struct usb_device_id dib0700_usb_id_table[] = {
1491/* 45 */{ USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_PD378S) }, 1491/* 45 */{ USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_PD378S) },
1492 { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC) }, 1492 { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC) },
1493 { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC_B210) }, 1493 { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC_B210) },
1494 { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_MC770) },
1494 { 0 } /* Terminating entry */ 1495 { 0 } /* Terminating entry */
1495}; 1496};
1496MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); 1497MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1806,7 +1807,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1806 }, 1807 },
1807 }, 1808 },
1808 1809
1809 .num_device_descs = 5, 1810 .num_device_descs = 7,
1810 .devices = { 1811 .devices = {
1811 { "Terratec Cinergy HT USB XE", 1812 { "Terratec Cinergy HT USB XE",
1812 { &dib0700_usb_id_table[27], NULL }, 1813 { &dib0700_usb_id_table[27], NULL },
@@ -1832,6 +1833,10 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1832 { &dib0700_usb_id_table[39], NULL }, 1833 { &dib0700_usb_id_table[39], NULL },
1833 { NULL }, 1834 { NULL },
1834 }, 1835 },
1836 { "YUAN High-Tech MC770",
1837 { &dib0700_usb_id_table[48], NULL },
1838 { NULL },
1839 },
1835 }, 1840 },
1836 .rc_interval = DEFAULT_RC_INTERVAL, 1841 .rc_interval = DEFAULT_RC_INTERVAL,
1837 .rc_key_map = dib0700_rc_keys, 1842 .rc_key_map = dib0700_rc_keys,
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
index 0f239c668c51..138ce1b5cdd4 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -239,6 +239,7 @@
239#define USB_PID_YUAN_EC372S 0x1edc 239#define USB_PID_YUAN_EC372S 0x1edc
240#define USB_PID_YUAN_STK7700PH 0x1f08 240#define USB_PID_YUAN_STK7700PH 0x1f08
241#define USB_PID_YUAN_PD378S 0x2edc 241#define USB_PID_YUAN_PD378S 0x2edc
242#define USB_PID_YUAN_MC770 0x0871
242#define USB_PID_DW2102 0x2102 243#define USB_PID_DW2102 0x2102
243#define USB_PID_XTENSIONS_XD_380 0x0381 244#define USB_PID_XTENSIONS_XD_380 0x0381
244#define USB_PID_TELESTAR_STARSTICK_2 0x8000 245#define USB_PID_TELESTAR_STARSTICK_2 0x8000