aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorOlivier Grenie <olivier.grenie@dibcom.fr>2009-09-02 07:19:19 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:14:09 -0400
commit74b76f213640b4ebde9134d94a8013dbfecfcd93 (patch)
tree68522a8f7b3f4855a134740e89d9984d48267d70 /drivers/media/dvb
parent958411bc484d15c3c3f7579b84b57d3b9d80ff21 (diff)
V4L/DVB (12886): Added new Pinnacle USB devices
Added Pinnacle PCTV USB devices based on PCTV 73e. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c40
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb-ids.h3
2 files changed, 42 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index d1d6f4491403..ec0dd255c0ec 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -1500,7 +1500,10 @@ struct usb_device_id dib0700_usb_id_table[] = {
1500 { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_T3) }, 1500 { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_T3) },
1501 { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_T5) }, 1501 { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_T5) },
1502 { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_STK7700D) }, 1502 { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_STK7700D) },
1503 { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_STK7700D_2) }, 1503/* 55 */{ USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_STK7700D_2) },
1504 { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV73A) },
1505 { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV73ESE) },
1506 { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV282E) },
1504 { 0 } /* Terminating entry */ 1507 { 0 } /* Terminating entry */
1505}; 1508};
1506MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); 1509MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1764,6 +1767,41 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1764 1767
1765 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 1768 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
1766 1769
1770 .num_adapters = 1,
1771 .adapter = {
1772 {
1773 .frontend_attach = stk7070p_frontend_attach,
1774 .tuner_attach = dib7070p_tuner_attach,
1775
1776 DIB0700_DEFAULT_STREAMING_CONFIG(0x02),
1777
1778 .size_of_priv = sizeof(struct dib0700_adapter_state),
1779 },
1780 },
1781
1782 .num_device_descs = 3,
1783 .devices = {
1784 { "Pinnacle PCTV 73A",
1785 { &dib0700_usb_id_table[56], NULL },
1786 { NULL },
1787 },
1788 { "Pinnacle PCTV 73e SE",
1789 { &dib0700_usb_id_table[57], NULL },
1790 { NULL },
1791 },
1792 { "Pinnacle PCTV 282e",
1793 { &dib0700_usb_id_table[58], NULL },
1794 { NULL },
1795 },
1796 },
1797
1798 .rc_interval = DEFAULT_RC_INTERVAL,
1799 .rc_key_map = dib0700_rc_keys,
1800 .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys),
1801 .rc_query = dib0700_rc_query
1802
1803 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
1804
1767 .num_adapters = 2, 1805 .num_adapters = 2,
1768 .adapter = { 1806 .adapter = {
1769 { 1807 {
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
index 185a5069b10b..eec5604dcdd0 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -195,6 +195,9 @@
195#define USB_PID_PINNACLE_PCTV73E 0x0237 195#define USB_PID_PINNACLE_PCTV73E 0x0237
196#define USB_PID_PINNACLE_PCTV801E 0x023a 196#define USB_PID_PINNACLE_PCTV801E 0x023a
197#define USB_PID_PINNACLE_PCTV801E_SE 0x023b 197#define USB_PID_PINNACLE_PCTV801E_SE 0x023b
198#define USB_PID_PINNACLE_PCTV73A 0x0243
199#define USB_PID_PINNACLE_PCTV73ESE 0x0245
200#define USB_PID_PINNACLE_PCTV282E 0x0248
198#define USB_PID_PCTV_200E 0x020e 201#define USB_PID_PCTV_200E 0x020e
199#define USB_PID_PCTV_400E 0x020f 202#define USB_PID_PCTV_400E 0x020f
200#define USB_PID_PCTV_450E 0x0222 203#define USB_PID_PCTV_450E 0x0222