[PATCH] dvb: usb: fix WideView USB ids
authorPatrick Boettcher <pb@linuxtv.org>
Fri, 8 Jul 2005 00:58:23 +0000 (17:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:24:01 +0000 (18:24 -0700)
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>
drivers/media/dvb/dvb-usb/Kconfig
drivers/media/dvb/dvb-usb/dibusb-mb.c
drivers/media/dvb/dvb-usb/dtt200u-fe.c
drivers/media/dvb/dvb-usb/dtt200u.c
drivers/media/dvb/dvb-usb/dtt200u.h
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

index d4deb75352c99873c6d1bd4c3e7725c9bb35eb34..91e88b2ed5d015f678340bc5ceedef8ee6d79c05 100644 (file)
@@ -109,9 +109,9 @@ config DVB_USB_NOVA_T_USB2
          Say Y here to support the Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 receiver.
 
 config DVB_USB_DTT200U
-       tristate "Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 support"
+       tristate "WideView/Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 support"
        depends on DVB_USB
        help
-         Say Y here to support the Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 receiver.
+         Say Y here to support the WideView/Yakumo/Hama/Typhoon/Yuan DVB-T USB2.0 receiver.
 
          The receivers are also known as DTT200U (Yakumo) and UB300 (Yuan).
index 1cd490252890ba6cc0f7b766e80b676f0862ae3a..cda2179d61aa1d5a82a1ca5395e380dedbc4d039 100644 (file)
@@ -96,8 +96,8 @@ static int dibusb_probe(struct usb_interface *intf,
 
 /* do not change the order of the ID table */
 static struct usb_device_id dibusb_dib3000mb_table [] = {
-/* 00 */       { USB_DEVICE(USB_VID_AVERMEDIA_UNK,     USB_PID_AVERMEDIA_DVBT_USB_COLD)},
-/* 01 */       { USB_DEVICE(USB_VID_AVERMEDIA_UNK,     USB_PID_AVERMEDIA_DVBT_USB_WARM)},
+/* 00 */       { USB_DEVICE(USB_VID_WIDEVIEW,          USB_PID_AVERMEDIA_DVBT_USB_COLD)},
+/* 01 */       { USB_DEVICE(USB_VID_WIDEVIEW,          USB_PID_AVERMEDIA_DVBT_USB_WARM)},
 /* 02 */       { USB_DEVICE(USB_VID_COMPRO,            USB_PID_COMPRO_DVBU2000_COLD) },
 /* 03 */       { USB_DEVICE(USB_VID_COMPRO,            USB_PID_COMPRO_DVBU2000_WARM) },
 /* 04 */       { USB_DEVICE(USB_VID_COMPRO_UNK,        USB_PID_COMPRO_DVBU2000_UNK_COLD) },
index d17d768038c62a60c8c639efb6e47e7e0a563df0..7807f33573b8968739c78296c447ec04c6f63c77 100644 (file)
@@ -1,5 +1,5 @@
-/* Frontend part of the Linux driver for the Yakumo/Hama/Typhoon DVB-T
- * USB2.0 receiver.
+/* Frontend part of the Linux driver for the WideView/ Yakumo/ Hama/
+ * Typhoon/ Yuan DVB-T USB2.0 receiver.
  *
  * Copyright (C) 2005 Patrick Boettcher <patrick.boettcher@desy.de>
  *
index fb2b5a2da13755222ce0bdfa7714de2464f6feae..1ebd3eff96d11379f84635a48e736f2294a1443b 100644 (file)
@@ -1,5 +1,5 @@
-/* DVB USB library compliant Linux driver for the Yakumo/Hama/Typhoon DVB-T
- * USB2.0 receiver.
+/* DVB USB library compliant Linux driver for the WideView/ Yakumo/ Hama/
+ * Typhoon/ Yuan DVB-T USB2.0 receiver.
  *
  * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de)
  *
@@ -89,8 +89,8 @@ static int dtt200u_usb_probe(struct usb_interface *intf,
 }
 
 static struct usb_device_id dtt200u_usb_table [] = {
-           { USB_DEVICE(USB_VID_AVERMEDIA_UNK, USB_PID_DTT200U_COLD) },
-           { USB_DEVICE(USB_VID_AVERMEDIA_UNK, USB_PID_DTT200U_WARM) },
+           { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_COLD) },
+           { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_WARM) },
            { 0 },
 };
 MODULE_DEVICE_TABLE(usb, dtt200u_usb_table);
@@ -127,8 +127,8 @@ static struct dvb_usb_properties dtt200u_properties = {
 
        .num_device_descs = 1,
        .devices = {
-               { .name = "Yakumo/Hama/Typhoon DVB-T USB2.0)",
-                 .cold_ids = { &dtt200u_usb_table[0], &dtt200u_usb_table[2] },
+               { .name = "WideView/Yakumo/Hama/Typhoon DVB-T USB2.0)",
+                 .cold_ids = { &dtt200u_usb_table[0], NULL },
                  .warm_ids = { &dtt200u_usb_table[1], NULL },
                },
                { 0 },
@@ -138,7 +138,7 @@ static struct dvb_usb_properties dtt200u_properties = {
 /* usb specific object needed to register this driver with the usb subsystem */
 static struct usb_driver dtt200u_usb_driver = {
        .owner          = THIS_MODULE,
-       .name           = "Yakumo/Hama/Typhoon DVB-T USB2.0",
+       .name           = "dtt200u",
        .probe          = dtt200u_usb_probe,
        .disconnect = dvb_usb_device_exit,
        .id_table       = dtt200u_usb_table,
@@ -166,6 +166,6 @@ module_init(dtt200u_usb_module_init);
 module_exit(dtt200u_usb_module_exit);
 
 MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@desy.de>");
-MODULE_DESCRIPTION("Driver for the Yakumo/Hama/Typhoon DVB-T USB2.0 device");
+MODULE_DESCRIPTION("Driver for the WideView/Yakumo/Hama/Typhoon DVB-T USB2.0 device");
 MODULE_VERSION("1.0");
 MODULE_LICENSE("GPL");
index ed41420715180332e81e816086224891aa862be3..9ab081a55b8464900d5bca8ec091bb0b68286a65 100644 (file)
@@ -1,5 +1,5 @@
-/* Common header file of Linux driver for the Yakumo/Hama/Typhoon DVB-T
- * USB2.0 receiver.
+/* Common header file of Linux driver for the WideView/ Yakumo/ Hama/
+ * Typhoon/ Yuan DVB-T USB2.0 receiver.
  *
  * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de)
  *
index 9fea93df6ab49040af8a82b95b37b2de52ce1a6d..75f4cb18a635d4734c168752c82b1af533aec474 100644 (file)
@@ -12,7 +12,7 @@
 /* Vendor IDs */
 #define USB_VID_ADSTECH                                                0x06e1
 #define USB_VID_ANCHOR                                         0x0547
-#define USB_VID_AVERMEDIA_UNK                          0x14aa
+#define USB_VID_WIDEVIEW                                       0x14aa
 #define USB_VID_AVERMEDIA                                      0x07ca
 #define USB_VID_COMPRO                                         0x185b
 #define USB_VID_COMPRO_UNK                                     0x145f