Commit 44122dd6 authored by Igor M. Liplianin's avatar Igor M. Liplianin Committed by Mauro Carvalho Chehab

[media] media: Terratec Cinergy S2 USB HD Rev.2

Terratec Cinergy S2 USB HD Rev.2 support.
This commit is a corrected cherry-pick of 03228792 which got reverted in
b7e38636 because it was rebased incorrectly and introduced compilation
errors.
Signed-off-by: default avatarStephan Hilb <stephan@ecshi.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c67d2f07
...@@ -1548,6 +1548,7 @@ enum dw2102_table_entry { ...@@ -1548,6 +1548,7 @@ enum dw2102_table_entry {
X3M_SPC1400HD, X3M_SPC1400HD,
TEVII_S421, TEVII_S421,
TEVII_S632, TEVII_S632,
TERRATEC_CINERGY_S2_R2,
}; };
static struct usb_device_id dw2102_table[] = { static struct usb_device_id dw2102_table[] = {
...@@ -1568,6 +1569,7 @@ static struct usb_device_id dw2102_table[] = { ...@@ -1568,6 +1569,7 @@ static struct usb_device_id dw2102_table[] = {
[X3M_SPC1400HD] = {USB_DEVICE(0x1f4d, 0x3100)}, [X3M_SPC1400HD] = {USB_DEVICE(0x1f4d, 0x3100)},
[TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)}, [TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)},
[TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)}, [TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)},
[TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC, 0x00b0)},
{ } { }
}; };
...@@ -1968,7 +1970,7 @@ static struct dvb_usb_device_properties su3000_properties = { ...@@ -1968,7 +1970,7 @@ static struct dvb_usb_device_properties su3000_properties = {
}}, }},
} }
}, },
.num_device_descs = 3, .num_device_descs = 4,
.devices = { .devices = {
{ "SU3000HD DVB-S USB2.0", { "SU3000HD DVB-S USB2.0",
{ &dw2102_table[GENIATECH_SU3000], NULL }, { &dw2102_table[GENIATECH_SU3000], NULL },
...@@ -1982,6 +1984,10 @@ static struct dvb_usb_device_properties su3000_properties = { ...@@ -1982,6 +1984,10 @@ static struct dvb_usb_device_properties su3000_properties = {
{ &dw2102_table[X3M_SPC1400HD], NULL }, { &dw2102_table[X3M_SPC1400HD], NULL },
{ NULL }, { NULL },
}, },
{ "Terratec Cinergy S2 USB HD Rev.2",
{ &dw2102_table[TERRATEC_CINERGY_S2_R2], NULL },
{ NULL },
},
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment