Commit d281c1f1 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] af9035: add few new reference design USB IDs

Add all known reference design USB IDs.
Rename two earlier reference design USB IDs.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1cbabf9c
...@@ -990,7 +990,10 @@ static int af9035_tuner_attach(struct dvb_usb_adapter *adap) ...@@ -990,7 +990,10 @@ static int af9035_tuner_attach(struct dvb_usb_adapter *adap)
enum af9035_id_entry { enum af9035_id_entry {
AF9035_15A4_9035, AF9035_15A4_9035,
AF9035_15A4_1000,
AF9035_15A4_1001, AF9035_15A4_1001,
AF9035_15A4_1002,
AF9035_15A4_1003,
AF9035_0CCD_0093, AF9035_0CCD_0093,
AF9035_07CA_A835, AF9035_07CA_A835,
AF9035_07CA_B835, AF9035_07CA_B835,
...@@ -1001,9 +1004,15 @@ enum af9035_id_entry { ...@@ -1001,9 +1004,15 @@ enum af9035_id_entry {
static struct usb_device_id af9035_id[] = { static struct usb_device_id af9035_id[] = {
[AF9035_15A4_9035] = { [AF9035_15A4_9035] = {
USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035)}, USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_9035)},
[AF9035_15A4_1000] = {
USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_1000)},
[AF9035_15A4_1001] = { [AF9035_15A4_1001] = {
USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_2)}, USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_1001)},
[AF9035_15A4_1002] = {
USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_1002)},
[AF9035_15A4_1003] = {
USB_DEVICE(USB_VID_AFATECH, USB_PID_AFATECH_AF9035_1003)},
[AF9035_0CCD_0093] = { [AF9035_0CCD_0093] = {
USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK)}, USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK)},
[AF9035_07CA_A835] = { [AF9035_07CA_A835] = {
...@@ -1074,7 +1083,10 @@ static struct dvb_usb_device_properties af9035_properties[] = { ...@@ -1074,7 +1083,10 @@ static struct dvb_usb_device_properties af9035_properties[] = {
.name = "Afatech AF9035 reference design", .name = "Afatech AF9035 reference design",
.cold_ids = { .cold_ids = {
&af9035_id[AF9035_15A4_9035], &af9035_id[AF9035_15A4_9035],
&af9035_id[AF9035_15A4_1000],
&af9035_id[AF9035_15A4_1001], &af9035_id[AF9035_15A4_1001],
&af9035_id[AF9035_15A4_1002],
&af9035_id[AF9035_15A4_1003],
}, },
}, { }, {
.name = "TerraTec Cinergy T Stick", .name = "TerraTec Cinergy T Stick",
......
...@@ -76,8 +76,11 @@ ...@@ -76,8 +76,11 @@
#define USB_PID_AFATECH_AF9005 0x9020 #define USB_PID_AFATECH_AF9005 0x9020
#define USB_PID_AFATECH_AF9015_9015 0x9015 #define USB_PID_AFATECH_AF9015_9015 0x9015
#define USB_PID_AFATECH_AF9015_9016 0x9016 #define USB_PID_AFATECH_AF9015_9016 0x9016
#define USB_PID_AFATECH_AF9035 0x9035 #define USB_PID_AFATECH_AF9035_1000 0x1000
#define USB_PID_AFATECH_AF9035_2 0x1001 #define USB_PID_AFATECH_AF9035_1001 0x1001
#define USB_PID_AFATECH_AF9035_1002 0x1002
#define USB_PID_AFATECH_AF9035_1003 0x1003
#define USB_PID_AFATECH_AF9035_9035 0x9035
#define USB_PID_TREKSTOR_DVBT 0x901b #define USB_PID_TREKSTOR_DVBT 0x901b
#define USB_VID_ALINK_DTU 0xf170 #define USB_VID_ALINK_DTU 0xf170
#define USB_PID_ANSONIC_DVBT_USB 0x6000 #define USB_PID_ANSONIC_DVBT_USB 0x6000
......
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