Commit 2f8bc51d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: dvb-usb: move USB IDs to dvb-usb-ids.h

Almost all drivers based on dvb-usb place their USB IDs
at dvb-usb-ids.h. In order to make it more standard, place
the remaining ones also there.

Link: https://lore.kernel.org/linux-media/7b32d5383169d23082758a7b69edef2f099202f3.1648499509.git.mchehab@kernel.orgSigned-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 964320cb
...@@ -194,7 +194,7 @@ static int cinergyt2_usb_probe(struct usb_interface *intf, ...@@ -194,7 +194,7 @@ static int cinergyt2_usb_probe(struct usb_interface *intf,
} }
static struct usb_device_id cinergyt2_usb_table[] = { static struct usb_device_id cinergyt2_usb_table[] = {
{ USB_DEVICE(USB_VID_TERRATEC, 0x0038) }, { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T2) },
{ 0 } { 0 }
}; };
......
...@@ -163,7 +163,7 @@ static int dtv5100_probe(struct usb_interface *intf, ...@@ -163,7 +163,7 @@ static int dtv5100_probe(struct usb_interface *intf,
} }
static struct usb_device_id dtv5100_table[] = { static struct usb_device_id dtv5100_table[] = {
{ USB_DEVICE(0x06be, 0xa232) }, { USB_DEVICE(USB_VID_AME, USB_PID_AME_DTV5100) },
{ } /* Terminating entry */ { } /* Terminating entry */
}; };
MODULE_DEVICE_TABLE(usb, dtv5100_table); MODULE_DEVICE_TABLE(usb, dtv5100_table);
......
...@@ -1793,23 +1793,23 @@ enum dw2102_table_entry { ...@@ -1793,23 +1793,23 @@ enum dw2102_table_entry {
static struct usb_device_id dw2102_table[] = { static struct usb_device_id dw2102_table[] = {
[CYPRESS_DW2102] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW2102)}, [CYPRESS_DW2102] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW2102)},
[CYPRESS_DW2101] = {USB_DEVICE(USB_VID_CYPRESS, 0x2101)}, [CYPRESS_DW2101] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW2101)},
[CYPRESS_DW2104] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW2104)}, [CYPRESS_DW2104] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW2104)},
[TEVII_S650] = {USB_DEVICE(0x9022, USB_PID_TEVII_S650)}, [TEVII_S650] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S650)},
[TERRATEC_CINERGY_S] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S)}, [TERRATEC_CINERGY_S] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S)},
[CYPRESS_DW3101] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW3101)}, [CYPRESS_DW3101] = {USB_DEVICE(USB_VID_CYPRESS, USB_PID_DW3101)},
[TEVII_S630] = {USB_DEVICE(0x9022, USB_PID_TEVII_S630)}, [TEVII_S630] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S630)},
[PROF_1100] = {USB_DEVICE(0x3011, USB_PID_PROF_1100)}, [PROF_1100] = {USB_DEVICE(USB_VID_PROF_1, USB_PID_PROF_1100)},
[TEVII_S660] = {USB_DEVICE(0x9022, USB_PID_TEVII_S660)}, [TEVII_S660] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S660)},
[PROF_7500] = {USB_DEVICE(0x3034, 0x7500)}, [PROF_7500] = {USB_DEVICE(USB_VID_PROF_2, USB_PID_PROF_7500)},
[GENIATECH_SU3000] = {USB_DEVICE(0x1f4d, 0x3000)}, [GENIATECH_SU3000] = {USB_DEVICE(USB_VID_GTEK, USB_PID_GENIATECH_SU3000)},
[HAUPPAUGE_MAX_S2] = {USB_DEVICE(0x2040, 0xd900)}, [HAUPPAUGE_MAX_S2] = {USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_MAX_S2)},
[TERRATEC_CINERGY_S2] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R1)}, [TERRATEC_CINERGY_S2] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R1)},
[TEVII_S480_1] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_1)}, [TEVII_S480_1] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S480_1)},
[TEVII_S480_2] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_2)}, [TEVII_S480_2] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S480_2)},
[X3M_SPC1400HD] = {USB_DEVICE(0x1f4d, 0x3100)}, [X3M_SPC1400HD] = {USB_DEVICE(USB_VID_GTEK, USB_PID_GENIATECH_X3M_SPC1400HD)},
[TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)}, [TEVII_S421] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S421)},
[TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)}, [TEVII_S632] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S632)},
[TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC, [TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC,
USB_PID_TERRATEC_CINERGY_S2_R2)}, USB_PID_TERRATEC_CINERGY_S2_R2)},
[TERRATEC_CINERGY_S2_R3] = {USB_DEVICE(USB_VID_TERRATEC, [TERRATEC_CINERGY_S2_R3] = {USB_DEVICE(USB_VID_TERRATEC,
...@@ -1820,14 +1820,14 @@ static struct usb_device_id dw2102_table[] = { ...@@ -1820,14 +1820,14 @@ static struct usb_device_id dw2102_table[] = {
USB_PID_TERRATEC_CINERGY_S2_1)}, USB_PID_TERRATEC_CINERGY_S2_1)},
[TERRATEC_CINERGY_S2_2] = {USB_DEVICE(USB_VID_TERRATEC_2, [TERRATEC_CINERGY_S2_2] = {USB_DEVICE(USB_VID_TERRATEC_2,
USB_PID_TERRATEC_CINERGY_S2_2)}, USB_PID_TERRATEC_CINERGY_S2_2)},
[GOTVIEW_SAT_HD] = {USB_DEVICE(0x1FE1, USB_PID_GOTVIEW_SAT_HD)}, [GOTVIEW_SAT_HD] = {USB_DEVICE(USB_VID_GOTVIEW, USB_PID_GOTVIEW_SAT_HD)},
[GENIATECH_T220] = {USB_DEVICE(0x1f4d, 0xD220)}, [GENIATECH_T220] = {USB_DEVICE(USB_VID_GTEK, USB_PID_GENIATECH_T220)},
[TECHNOTREND_S2_4600] = {USB_DEVICE(USB_VID_TECHNOTREND, [TECHNOTREND_S2_4600] = {USB_DEVICE(USB_VID_TECHNOTREND,
USB_PID_TECHNOTREND_CONNECT_S2_4600)}, USB_PID_TECHNOTREND_CONNECT_S2_4600)},
[TEVII_S482_1] = {USB_DEVICE(0x9022, 0xd483)}, [TEVII_S482_1] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TTEVII_S482_1)},
[TEVII_S482_2] = {USB_DEVICE(0x9022, 0xd484)}, [TEVII_S482_2] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TTEVII_S482_2)},
[TERRATEC_CINERGY_S2_BOX] = {USB_DEVICE(USB_VID_TERRATEC, 0x0105)}, [TERRATEC_CINERGY_S2_BOX] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_BOX)},
[TEVII_S662] = {USB_DEVICE(0x9022, USB_PID_TEVII_S662)}, [TEVII_S662] = {USB_DEVICE(USB_VID_TEVII, USB_PID_TEVII_S662)},
{ } { }
}; };
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#define USB_VID_AFATECH 0x15a4 #define USB_VID_AFATECH 0x15a4
#define USB_VID_ALCOR_MICRO 0x058f #define USB_VID_ALCOR_MICRO 0x058f
#define USB_VID_ALINK 0x05e3 #define USB_VID_ALINK 0x05e3
#define USB_VID_AME 0x06be
#define USB_VID_AMT 0x1c73 #define USB_VID_AMT 0x1c73
#define USB_VID_ANCHOR 0x0547 #define USB_VID_ANCHOR 0x0547
#define USB_VID_ANSONIC 0x10b9 #define USB_VID_ANSONIC 0x10b9
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
#define USB_VID_EVOLUTEPC 0x1e59 #define USB_VID_EVOLUTEPC 0x1e59
#define USB_VID_GENPIX 0x09c0 #define USB_VID_GENPIX 0x09c0
#define USB_VID_GIGABYTE 0x1044 #define USB_VID_GIGABYTE 0x1044
#define USB_VID_GOTVIEW 0x1fe1
#define USB_VID_GRANDTEC 0x5032 #define USB_VID_GRANDTEC 0x5032
#define USB_VID_GTEK 0x1f4d #define USB_VID_GTEK 0x1f4d
#define USB_VID_HAMA 0x147f #define USB_VID_HAMA 0x147f
...@@ -61,6 +63,8 @@ ...@@ -61,6 +63,8 @@
#define USB_VID_PCTV 0x2013 #define USB_VID_PCTV 0x2013
#define USB_VID_PINNACLE 0x2304 #define USB_VID_PINNACLE 0x2304
#define USB_VID_PIXELVIEW 0x1554 #define USB_VID_PIXELVIEW 0x1554
#define USB_VID_PROF_1 0x3011
#define USB_VID_PROF_2 0x3034
#define USB_VID_REALTEK 0x0bda #define USB_VID_REALTEK 0x0bda
#define USB_VID_SONY 0x1415 #define USB_VID_SONY 0x1415
#define USB_VID_TECHNISAT 0x14f7 #define USB_VID_TECHNISAT 0x14f7
...@@ -68,6 +72,7 @@ ...@@ -68,6 +72,7 @@
#define USB_VID_TELESTAR 0x10b9 #define USB_VID_TELESTAR 0x10b9
#define USB_VID_TERRATEC 0x0ccd #define USB_VID_TERRATEC 0x0ccd
#define USB_VID_TERRATEC_2 0x153b #define USB_VID_TERRATEC_2 0x153b
#define USB_VID_TEVII 0x9022
#define USB_VID_TWINHAN 0x1822 #define USB_VID_TWINHAN 0x1822
#define USB_VID_ULTIMA_ELECTRONIC 0x05d8 #define USB_VID_ULTIMA_ELECTRONIC 0x05d8
#define USB_VID_UNIWILL 0x1584 #define USB_VID_UNIWILL 0x1584
...@@ -90,6 +95,7 @@ ...@@ -90,6 +95,7 @@
#define USB_PID_AFATECH_AF9035_1003 0x1003 #define USB_PID_AFATECH_AF9035_1003 0x1003
#define USB_PID_AFATECH_AF9035_9035 0x9035 #define USB_PID_AFATECH_AF9035_9035 0x9035
#define USB_PID_ALINK_DTU 0xf170 #define USB_PID_ALINK_DTU 0xf170
#define USB_PID_AME_DTV5100 0xa232
#define USB_PID_ANSONIC_DVBT_USB 0x6000 #define USB_PID_ANSONIC_DVBT_USB 0x6000
#define USB_PID_ANYSEE 0x861f #define USB_PID_ANYSEE 0x861f
#define USB_PID_ARTEC_T14BR 0x810f #define USB_PID_ARTEC_T14BR 0x810f
...@@ -198,6 +204,7 @@ ...@@ -198,6 +204,7 @@
#define USB_PID_DVICO_BLUEBIRD_LGZ201_WARM 0xdb01 #define USB_PID_DVICO_BLUEBIRD_LGZ201_WARM 0xdb01
#define USB_PID_DVICO_BLUEBIRD_TH7579_COLD 0xdb10 #define USB_PID_DVICO_BLUEBIRD_TH7579_COLD 0xdb10
#define USB_PID_DVICO_BLUEBIRD_TH7579_WARM 0xdb11 #define USB_PID_DVICO_BLUEBIRD_TH7579_WARM 0xdb11
#define USB_PID_DW2101 0x2101
#define USB_PID_DW2102 0x2102 #define USB_PID_DW2102 0x2102
#define USB_PID_DW2104 0x2104 #define USB_PID_DW2104 0x2104
#define USB_PID_DW3101 0x3101 #define USB_PID_DW3101 0x3101
...@@ -217,6 +224,9 @@ ...@@ -217,6 +224,9 @@
#define USB_PID_FREECOM_DVBT 0x0160 #define USB_PID_FREECOM_DVBT 0x0160
#define USB_PID_FREECOM_DVBT_2 0x0161 #define USB_PID_FREECOM_DVBT_2 0x0161
#define USB_PID_FRIIO_WHITE 0x0001 #define USB_PID_FRIIO_WHITE 0x0001
#define USB_PID_GENIATECH_SU3000 0x3000
#define USB_PID_GENIATECH_T220 0xd220
#define USB_PID_GENIATECH_X3M_SPC1400HD 0x3100
#define USB_PID_GENIUS_TVGO_DVB_T03 0x4012 #define USB_PID_GENIUS_TVGO_DVB_T03 0x4012
#define USB_PID_GENPIX_8PSK_REV_1_COLD 0x0200 #define USB_PID_GENPIX_8PSK_REV_1_COLD 0x0200
#define USB_PID_GENPIX_8PSK_REV_1_WARM 0x0201 #define USB_PID_GENPIX_8PSK_REV_1_WARM 0x0201
...@@ -234,6 +244,7 @@ ...@@ -234,6 +244,7 @@
#define USB_PID_HAMA_DVBT_HYBRID 0x2758 #define USB_PID_HAMA_DVBT_HYBRID 0x2758
#define USB_PID_HANFTEK_UMT_010_COLD 0x0001 #define USB_PID_HANFTEK_UMT_010_COLD 0x0001
#define USB_PID_HANFTEK_UMT_010_WARM 0x0015 #define USB_PID_HANFTEK_UMT_010_WARM 0x0015
#define USB_PID_HAUPPAUGE_MAX_S2 0xd900
#define USB_PID_HAUPPAUGE_MYTV_T 0x7080 #define USB_PID_HAUPPAUGE_MYTV_T 0x7080
#define USB_PID_HAUPPAUGE_NOVA_TD_STICK 0x9580 #define USB_PID_HAUPPAUGE_NOVA_TD_STICK 0x9580
#define USB_PID_HAUPPAUGE_NOVA_TD_STICK_52009 0x5200 #define USB_PID_HAUPPAUGE_NOVA_TD_STICK_52009 0x5200
...@@ -314,6 +325,7 @@ ...@@ -314,6 +325,7 @@
#define USB_PID_PINNACLE_PCTV_DVB_T_FLASH 0x0228 #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH 0x0228
#define USB_PID_PIXELVIEW_SBTVD 0x5010 #define USB_PID_PIXELVIEW_SBTVD 0x5010
#define USB_PID_PROF_1100 0xb012 #define USB_PID_PROF_1100 0xb012
#define USB_PID_PROF_7500 0x7500
#define USB_PID_PROLECTRIX_DV107669 0xd803 #define USB_PID_PROLECTRIX_DV107669 0xd803
#define USB_PID_REALTEK_RTL2831U 0x2831 #define USB_PID_REALTEK_RTL2831U 0x2831
#define USB_PID_REALTEK_RTL2832U 0x2832 #define USB_PID_REALTEK_RTL2832U 0x2832
...@@ -348,10 +360,12 @@ ...@@ -348,10 +360,12 @@
#define USB_PID_TERRATEC_CINERGY_S 0x0064 #define USB_PID_TERRATEC_CINERGY_S 0x0064
#define USB_PID_TERRATEC_CINERGY_S2_1 0x1181 #define USB_PID_TERRATEC_CINERGY_S2_1 0x1181
#define USB_PID_TERRATEC_CINERGY_S2_2 0x1182 #define USB_PID_TERRATEC_CINERGY_S2_2 0x1182
#define USB_PID_TERRATEC_CINERGY_S2_BOX 0x0105
#define USB_PID_TERRATEC_CINERGY_S2_R1 0x00a8 #define USB_PID_TERRATEC_CINERGY_S2_R1 0x00a8
#define USB_PID_TERRATEC_CINERGY_S2_R2 0x00b0 #define USB_PID_TERRATEC_CINERGY_S2_R2 0x00b0
#define USB_PID_TERRATEC_CINERGY_S2_R3 0x0102 #define USB_PID_TERRATEC_CINERGY_S2_R3 0x0102
#define USB_PID_TERRATEC_CINERGY_S2_R4 0x0105 #define USB_PID_TERRATEC_CINERGY_S2_R4 0x0105
#define USB_PID_TERRATEC_CINERGY_T2 0x0038
#define USB_PID_TERRATEC_CINERGY_TC2_STICK 0x10b2 #define USB_PID_TERRATEC_CINERGY_TC2_STICK 0x10b2
#define USB_PID_TERRATEC_CINERGY_T_EXPRESS 0x0062 #define USB_PID_TERRATEC_CINERGY_T_EXPRESS 0x0062
#define USB_PID_TERRATEC_CINERGY_T_STICK 0x0093 #define USB_PID_TERRATEC_CINERGY_T_STICK 0x0093
...@@ -383,6 +397,8 @@ ...@@ -383,6 +397,8 @@
#define USB_PID_TINYTWIN_3 0x9016 #define USB_PID_TINYTWIN_3 0x9016
#define USB_PID_TREKSTOR_DVBT 0x901b #define USB_PID_TREKSTOR_DVBT 0x901b
#define USB_PID_TREKSTOR_TERRES_2_0 0xC803 #define USB_PID_TREKSTOR_TERRES_2_0 0xC803
#define USB_PID_TTEVII_S482_1 0xd483
#define USB_PID_TTEVII_S482_2 0xd484
#define USB_PID_TURBOX_DTT_2000 0xd3a4 #define USB_PID_TURBOX_DTT_2000 0xd3a4
#define USB_PID_TVWAY_PLUS 0x0002 #define USB_PID_TVWAY_PLUS 0x0002
#define USB_PID_TWINHAN_VP7020_COLD 0x3203 #define USB_PID_TWINHAN_VP7020_COLD 0x3203
......
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