aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.com>2009-02-26 08:31:41 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:07 -0400
commit9abb6e6f5942885b7ca387a41e55e645732d63bc (patch)
tree0efb8e1314f3025cfdf7d43a611cc28db51d7573
parent0a6e1ed2f11d92e24c3792ce5403e2628a9f7a7e (diff)
V4L/DVB (10825): Add ids for Yuan PD378S DVB adapter
Signed-off-by: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Pascal Terjan <pterjan@mandriva.com> Cc: Patrick Boettcher <patrick.boettcher@desy.de> [mchehab@redhat.com: Fixed a small merge conflict] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c7
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb-ids.h1
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index 95582aeafa9d..8877215cb243 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -1420,6 +1420,7 @@ struct usb_device_id dib0700_usb_id_table[] = {
1420 { USB_DEVICE(USB_VID_TERRATEC, 1420 { USB_DEVICE(USB_VID_TERRATEC,
1421 USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2) }, 1421 USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2) },
1422 { USB_DEVICE(USB_VID_SONY, USB_PID_SONY_PLAYTV) }, 1422 { USB_DEVICE(USB_VID_SONY, USB_PID_SONY_PLAYTV) },
1423/* 45 */{ USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_PD378S) },
1423 { 0 } /* Terminating entry */ 1424 { 0 } /* Terminating entry */
1424}; 1425};
1425MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); 1426MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1619,7 +1620,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1619 }, 1620 },
1620 }, 1621 },
1621 1622
1622 .num_device_descs = 9, 1623 .num_device_descs = 10,
1623 .devices = { 1624 .devices = {
1624 { "DiBcom STK7070P reference design", 1625 { "DiBcom STK7070P reference design",
1625 { &dib0700_usb_id_table[15], NULL }, 1626 { &dib0700_usb_id_table[15], NULL },
@@ -1657,6 +1658,10 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1657 { &dib0700_usb_id_table[33], NULL }, 1658 { &dib0700_usb_id_table[33], NULL },
1658 { NULL }, 1659 { NULL },
1659 }, 1660 },
1661 { "Yuan PD378S",
1662 { &dib0700_usb_id_table[45], NULL },
1663 { NULL },
1664 },
1660 }, 1665 },
1661 1666
1662 .rc_interval = DEFAULT_RC_INTERVAL, 1667 .rc_interval = DEFAULT_RC_INTERVAL,
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
index 748d8dc38771..6d70576ad3db 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -234,6 +234,7 @@
234#define USB_PID_ASUS_U3100 0x173f 234#define USB_PID_ASUS_U3100 0x173f
235#define USB_PID_YUAN_EC372S 0x1edc 235#define USB_PID_YUAN_EC372S 0x1edc
236#define USB_PID_YUAN_STK7700PH 0x1f08 236#define USB_PID_YUAN_STK7700PH 0x1f08
237#define USB_PID_YUAN_PD378S 0x2edc
237#define USB_PID_DW2102 0x2102 238#define USB_PID_DW2102 0x2102
238#define USB_PID_XTENSIONS_XD_380 0x0381 239#define USB_PID_XTENSIONS_XD_380 0x0381
239#define USB_PID_TELESTAR_STARSTICK_2 0x8000 240#define USB_PID_TELESTAR_STARSTICK_2 0x8000
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb.h b/drivers/media/dvb/dvb-usb/dvb-usb.h
index b1de0f7e26e8..6aaf576873dc 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb.h
@@ -223,7 +223,7 @@ struct dvb_usb_device_properties {
223 int generic_bulk_ctrl_endpoint; 223 int generic_bulk_ctrl_endpoint;
224 224
225 int num_device_descs; 225 int num_device_descs;
226 struct dvb_usb_device_description devices[9]; 226 struct dvb_usb_device_description devices[10];
227}; 227};
228 228
229/** 229/**