lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090728230117.8fca2314.jakob.gruber@kabelnet.at>
Date:	Tue, 28 Jul 2009 23:01:17 +0200
From:	Jakob Gruber <jakob.gruber@...elnet.at>
To:	gregkh@...e.de, linux-kernel@...r.kernel.org
Subject: Missing device IDs in rt2870

>From http://bugzilla.kernel.org/show_bug.cgi?id=13459#c3

In rt2870.h, there are 2 lists of USB devices. One is within 

#ifndef RT30xx
#endif

and the other in 

#ifdef RT30xx
#endif

Since I'm not sure whether to add the devices to both lists or only the first,
I'm posting a patch for both variations.

Patch 1, add devices only to first list:

--- a/drivers/staging/rt2870/rt2870.h
+++ b/drivers/staging/rt2870/rt2870.h
@@ -77,6 +77,9 @@
 #ifndef RT30xx
 #define RT2870_USB_DEVICES    \
 {    \
+    {USB_DEVICE(0x2019,0xED14)}, /* Planex Communications, Inc. */
+    {USB_DEVICE(0x1737,0x0070)}, /* Linksys */
+    {USB_DEVICE(0x050D,0x815C)}, /* Belkin */        \
     {USB_DEVICE(0x148F,0x2770)}, /* Ralink */        \
     {USB_DEVICE(0x1737,0x0071)}, /* Linksys WUSB600N */    \
     {USB_DEVICE(0x148F,0x2870)}, /* Ralink */        \

Patch 2, add devices to both lists:

--- a/drivers/staging/rt2870/rt2870.h
+++ b/drivers/staging/rt2870/rt2870.h
@@ -77,6 +77,9 @@
 #ifndef RT30xx
 #define RT2870_USB_DEVICES    \
 {    \
+    {USB_DEVICE(0x2019,0xED14)}, /* Planex Communications, Inc. */
+    {USB_DEVICE(0x1737,0x0070)}, /* Linksys */
+    {USB_DEVICE(0x050D,0x815C)}, /* Belkin */        \
     {USB_DEVICE(0x148F,0x2770)}, /* Ralink */        \
     {USB_DEVICE(0x1737,0x0071)}, /* Linksys WUSB600N */    \
     {USB_DEVICE(0x148F,0x2870)}, /* Ralink */        \
@@ -144,6 +147,9 @@
 #ifdef RT30xx
 #define RT2870_USB_DEVICES    \
 {    \
+    {USB_DEVICE(0x2019,0xED14)}, /* Planex Communications, Inc. */
+    {USB_DEVICE(0x1737,0x0070)}, /* Linksys */
+    {USB_DEVICE(0x050D,0x815C)}, /* Belkin */        \
     {USB_DEVICE(0x148F,0x2770)}, /* Ralink */        \
     {USB_DEVICE(0x148F,0x2870)}, /* Ralink */        \
     {USB_DEVICE(0x148F,0x3070)}, /* Ralink 3070 */    \

Thanks!

-- 
Jakob Gruber <jakob.gruber@...elnet.at>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ