diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2005-07-07 20:58:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:24:01 -0400 |
commit | fb41f5a725d052d7542e0e966e5799b95c2648c8 (patch) | |
tree | 3ef60bdd6bf25aa61535460a54699d136c71a468 | |
parent | 2d188c68a04d89d9351c3130226d0e8af9439dda (diff) |
[PATCH] dvb: usb: fix WideView USB ids
o Steve Chang reported the real name behind 0x14aa: WideView,
changed USB IDs accordingly.
o fixed an assignment
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/media/dvb/dvb-usb/Kconfig | 4 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-mb.c | 4 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dtt200u-fe.c | 4 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dtt200u.c | 16 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dtt200u.h | 4 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 2 |
6 files changed, 17 insertions, 17 deletions
diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig index d4deb75352c..91e88b2ed5d 100644 --- a/drivers/media/dvb/dvb-usb/Kconfig +++ b/drivers/media/dvb/dvb-usb/Kconfig | |||
@@ -109,9 +109,9 @@ config DVB_USB_NOVA_T_USB2 | |||
109 | Say Y here to support the Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 receiver. | 109 | Say Y here to support the Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 receiver. |
110 | 110 | ||
111 | config DVB_USB_DTT200U | 111 | config DVB_USB_DTT200U |
112 | tristate "Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 support" | 112 | tristate "WideView/Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 support" |
113 | depends on DVB_USB | 113 | depends on DVB_USB |
114 | help | 114 | help |
115 | Say Y here to support the Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 receiver. | 115 | Say Y here to support the WideView/Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 receiver. |
116 | 116 | ||
117 | The receivers are also known as DTT200U (Yakumo) and UB300 (Yuan). | 117 | The receivers are also known as DTT200U (Yakumo) and UB300 (Yuan). |
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c index 1cd49025289..cda2179d61a 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-mb.c +++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c | |||
@@ -96,8 +96,8 @@ static int dibusb_probe(struct usb_interface *intf, | |||
96 | 96 | ||
97 | /* do not change the order of the ID table */ | 97 | /* do not change the order of the ID table */ |
98 | static struct usb_device_id dibusb_dib3000mb_table [] = { | 98 | static struct usb_device_id dibusb_dib3000mb_table [] = { |
99 | /* 00 */ { USB_DEVICE(USB_VID_AVERMEDIA_UNK, USB_PID_AVERMEDIA_DVBT_USB_COLD)}, | 99 | /* 00 */ { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_AVERMEDIA_DVBT_USB_COLD)}, |
100 | /* 01 */ { USB_DEVICE(USB_VID_AVERMEDIA_UNK, USB_PID_AVERMEDIA_DVBT_USB_WARM)}, | 100 | /* 01 */ { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_AVERMEDIA_DVBT_USB_WARM)}, |
101 | /* 02 */ { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_DVBU2000_COLD) }, | 101 | /* 02 */ { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_DVBU2000_COLD) }, |
102 | /* 03 */ { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_DVBU2000_WARM) }, | 102 | /* 03 */ { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_DVBU2000_WARM) }, |
103 | /* 04 */ { USB_DEVICE(USB_VID_COMPRO_UNK, USB_PID_COMPRO_DVBU2000_UNK_COLD) }, | 103 | /* 04 */ { USB_DEVICE(USB_VID_COMPRO_UNK, USB_PID_COMPRO_DVBU2000_UNK_COLD) }, |
diff --git a/drivers/media/dvb/dvb-usb/dtt200u-fe.c b/drivers/media/dvb/dvb-usb/dtt200u-fe.c index d17d768038c..7807f33573b 100644 --- a/drivers/media/dvb/dvb-usb/dtt200u-fe.c +++ b/drivers/media/dvb/dvb-usb/dtt200u-fe.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Frontend part of the Linux driver for the Yakumo/Hama/Typhoon DVB-T | 1 | /* Frontend part of the Linux driver for the WideView/ Yakumo/ Hama/ |
2 | * USB2.0 receiver. | 2 | * Typhoon/ Yuan DVB-T USB2.0 receiver. |
3 | * | 3 | * |
4 | * Copyright (C) 2005 Patrick Boettcher <patrick.boettcher@desy.de> | 4 | * Copyright (C) 2005 Patrick Boettcher <patrick.boettcher@desy.de> |
5 | * | 5 | * |
diff --git a/drivers/media/dvb/dvb-usb/dtt200u.c b/drivers/media/dvb/dvb-usb/dtt200u.c index fb2b5a2da13..1ebd3eff96d 100644 --- a/drivers/media/dvb/dvb-usb/dtt200u.c +++ b/drivers/media/dvb/dvb-usb/dtt200u.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* DVB USB library compliant Linux driver for the Yakumo/Hama/Typhoon DVB-T | 1 | /* DVB USB library compliant Linux driver for the WideView/ Yakumo/ Hama/ |
2 | * USB2.0 receiver. | 2 | * Typhoon/ Yuan DVB-T USB2.0 receiver. |
3 | * | 3 | * |
4 | * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de) | 4 | * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de) |
5 | * | 5 | * |
@@ -89,8 +89,8 @@ static int dtt200u_usb_probe(struct usb_interface *intf, | |||
89 | } | 89 | } |
90 | 90 | ||
91 | static struct usb_device_id dtt200u_usb_table [] = { | 91 | static struct usb_device_id dtt200u_usb_table [] = { |
92 | { USB_DEVICE(USB_VID_AVERMEDIA_UNK, USB_PID_DTT200U_COLD) }, | 92 | { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_COLD) }, |
93 | { USB_DEVICE(USB_VID_AVERMEDIA_UNK, USB_PID_DTT200U_WARM) }, | 93 | { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_WARM) }, |
94 | { 0 }, | 94 | { 0 }, |
95 | }; | 95 | }; |
96 | MODULE_DEVICE_TABLE(usb, dtt200u_usb_table); | 96 | MODULE_DEVICE_TABLE(usb, dtt200u_usb_table); |
@@ -127,8 +127,8 @@ static struct dvb_usb_properties dtt200u_properties = { | |||
127 | 127 | ||
128 | .num_device_descs = 1, | 128 | .num_device_descs = 1, |
129 | .devices = { | 129 | .devices = { |
130 | { .name = "Yakumo/Hama/Typhoon DVB-T USB2.0)", | 130 | { .name = "WideView/Yakumo/Hama/Typhoon DVB-T USB2.0)", |
131 | .cold_ids = { &dtt200u_usb_table[0], &dtt200u_usb_table[2] }, | 131 | .cold_ids = { &dtt200u_usb_table[0], NULL }, |
132 | .warm_ids = { &dtt200u_usb_table[1], NULL }, | 132 | .warm_ids = { &dtt200u_usb_table[1], NULL }, |
133 | }, | 133 | }, |
134 | { 0 }, | 134 | { 0 }, |
@@ -138,7 +138,7 @@ static struct dvb_usb_properties dtt200u_properties = { | |||
138 | /* usb specific object needed to register this driver with the usb subsystem */ | 138 | /* usb specific object needed to register this driver with the usb subsystem */ |
139 | static struct usb_driver dtt200u_usb_driver = { | 139 | static struct usb_driver dtt200u_usb_driver = { |
140 | .owner = THIS_MODULE, | 140 | .owner = THIS_MODULE, |
141 | .name = "Yakumo/Hama/Typhoon DVB-T USB2.0", | 141 | .name = "dtt200u", |
142 | .probe = dtt200u_usb_probe, | 142 | .probe = dtt200u_usb_probe, |
143 | .disconnect = dvb_usb_device_exit, | 143 | .disconnect = dvb_usb_device_exit, |
144 | .id_table = dtt200u_usb_table, | 144 | .id_table = dtt200u_usb_table, |
@@ -166,6 +166,6 @@ module_init(dtt200u_usb_module_init); | |||
166 | module_exit(dtt200u_usb_module_exit); | 166 | module_exit(dtt200u_usb_module_exit); |
167 | 167 | ||
168 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); | 168 | MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>"); |
169 | MODULE_DESCRIPTION("Driver for the Yakumo/Hama/Typhoon DVB-T USB2.0 device"); | 169 | MODULE_DESCRIPTION("Driver for the WideView/Yakumo/Hama/Typhoon DVB-T USB2.0 device"); |
170 | MODULE_VERSION("1.0"); | 170 | MODULE_VERSION("1.0"); |
171 | MODULE_LICENSE("GPL"); | 171 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/media/dvb/dvb-usb/dtt200u.h b/drivers/media/dvb/dvb-usb/dtt200u.h index ed414207151..9ab081a55b8 100644 --- a/drivers/media/dvb/dvb-usb/dtt200u.h +++ b/drivers/media/dvb/dvb-usb/dtt200u.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Common header file of Linux driver for the Yakumo/Hama/Typhoon DVB-T | 1 | /* Common header file of Linux driver for the WideView/ Yakumo/ Hama/ |
2 | * USB2.0 receiver. | 2 | * Typhoon/ Yuan DVB-T USB2.0 receiver. |
3 | * | 3 | * |
4 | * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de) | 4 | * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de) |
5 | * | 5 | * |
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h index 9fea93df6ab..75f4cb18a63 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h | |||
@@ -12,7 +12,7 @@ | |||
12 | /* Vendor IDs */ | 12 | /* Vendor IDs */ |
13 | #define USB_VID_ADSTECH 0x06e1 | 13 | #define USB_VID_ADSTECH 0x06e1 |
14 | #define USB_VID_ANCHOR 0x0547 | 14 | #define USB_VID_ANCHOR 0x0547 |
15 | #define USB_VID_AVERMEDIA_UNK 0x14aa | 15 | #define USB_VID_WIDEVIEW 0x14aa |
16 | #define USB_VID_AVERMEDIA 0x07ca | 16 | #define USB_VID_AVERMEDIA 0x07ca |
17 | #define USB_VID_COMPRO 0x185b | 17 | #define USB_VID_COMPRO 0x185b |
18 | #define USB_VID_COMPRO_UNK 0x145f | 18 | #define USB_VID_COMPRO_UNK 0x145f |