diff options
author | Oleg Roitburd <oroitburd@gmail.com> | 2010-02-26 07:47:16 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:46:46 -0400 |
commit | 20d2c56de8b3c462c40ef2eff42ff722905e28cf (patch) | |
tree | 398e00318efadc76d8135951e8a811c985fe241a /drivers/media/dvb | |
parent | 823b63b49eb9a670fd9125b625e8f4b008fe3abc (diff) |
V4L/DVB: AZ6027: Fix initialization for some cards
Also add in some more device ID's
Signed-off-by: Oleg Roitburd <oroitburd@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/az6027.c | 21 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 3 |
2 files changed, 21 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6027.c b/drivers/media/dvb/dvb-usb/az6027.c index 7db7d3d94f74..60787a28edb3 100644 --- a/drivers/media/dvb/dvb-usb/az6027.c +++ b/drivers/media/dvb/dvb-usb/az6027.c | |||
@@ -1056,7 +1056,8 @@ int az6027_identify_state(struct usb_device *udev, | |||
1056 | 1056 | ||
1057 | static struct usb_device_id az6027_usb_table[] = { | 1057 | static struct usb_device_id az6027_usb_table[] = { |
1058 | { USB_DEVICE(USB_VID_AZUREWAVE, USB_PID_AZUREWAVE_AZ6027) }, | 1058 | { USB_DEVICE(USB_VID_AZUREWAVE, USB_PID_AZUREWAVE_AZ6027) }, |
1059 | { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_DVBS2CI) }, | 1059 | { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_DVBS2CI_V1) }, |
1060 | { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_DVBS2CI_V2) }, | ||
1060 | { USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_HDCI_V1) }, | 1061 | { USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_HDCI_V1) }, |
1061 | { USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_HDCI_V2) }, | 1062 | { USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_HDCI_V2) }, |
1062 | { }, | 1063 | { }, |
@@ -1101,12 +1102,28 @@ static struct dvb_usb_device_properties az6027_properties = { | |||
1101 | .rc_query = az6027_rc_query, | 1102 | .rc_query = az6027_rc_query, |
1102 | .i2c_algo = &az6027_i2c_algo, | 1103 | .i2c_algo = &az6027_i2c_algo, |
1103 | 1104 | ||
1104 | .num_device_descs = 1, | 1105 | .num_device_descs = 5, |
1105 | .devices = { | 1106 | .devices = { |
1106 | { | 1107 | { |
1107 | .name = "AZUREWAVE DVB-S/S2 USB2.0 (AZ6027)", | 1108 | .name = "AZUREWAVE DVB-S/S2 USB2.0 (AZ6027)", |
1108 | .cold_ids = { &az6027_usb_table[0], NULL }, | 1109 | .cold_ids = { &az6027_usb_table[0], NULL }, |
1109 | .warm_ids = { NULL }, | 1110 | .warm_ids = { NULL }, |
1111 | }, { | ||
1112 | .name = "TERRATEC S7", | ||
1113 | .cold_ids = { &az6027_usb_table[1], NULL }, | ||
1114 | .warm_ids = { NULL }, | ||
1115 | }, { | ||
1116 | .name = "TERRATEC S7 MKII", | ||
1117 | .cold_ids = { &az6027_usb_table[2], NULL }, | ||
1118 | .warm_ids = { NULL }, | ||
1119 | }, { | ||
1120 | .name = "Technisat SkyStar USB 2 HD CI", | ||
1121 | .cold_ids = { &az6027_usb_table[3], NULL }, | ||
1122 | .warm_ids = { NULL }, | ||
1123 | }, { | ||
1124 | .name = "Technisat SkyStar USB 2 HD CI", | ||
1125 | .cold_ids = { &az6027_usb_table[4], NULL }, | ||
1126 | .warm_ids = { NULL }, | ||
1110 | }, | 1127 | }, |
1111 | { NULL }, | 1128 | { NULL }, |
1112 | } | 1129 | } |
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h index 0573de50c09a..de1f3af60d53 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h | |||
@@ -298,7 +298,8 @@ | |||
298 | #define USB_PID_TVWAY_PLUS 0x0002 | 298 | #define USB_PID_TVWAY_PLUS 0x0002 |
299 | #define USB_PID_SVEON_STV20 0xe39d | 299 | #define USB_PID_SVEON_STV20 0xe39d |
300 | #define USB_PID_AZUREWAVE_AZ6027 0x3275 | 300 | #define USB_PID_AZUREWAVE_AZ6027 0x3275 |
301 | #define USB_PID_TERRATEC_DVBS2CI 0x3275 | 301 | #define USB_PID_TERRATEC_DVBS2CI_V1 0x10a4 |
302 | #define USB_PID_TERRATEC_DVBS2CI_V2 0x10ac | ||
302 | #define USB_PID_TECHNISAT_USB2_HDCI_V1 0x0001 | 303 | #define USB_PID_TECHNISAT_USB2_HDCI_V1 0x0001 |
303 | #define USB_PID_TECHNISAT_USB2_HDCI_V2 0x0002 | 304 | #define USB_PID_TECHNISAT_USB2_HDCI_V2 0x0002 |
304 | #endif | 305 | #endif |