public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Missing device IDs in rt2870
@ 2009-07-28 21:01 Jakob Gruber
  2009-07-28 21:12 ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Jakob Gruber @ 2009-07-28 21:01 UTC (permalink / raw)
  To: gregkh, linux-kernel

>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@kabelnet.at>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-30 20:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 21:01 Missing device IDs in rt2870 Jakob Gruber
2009-07-28 21:12 ` Greg KH
2009-07-29 15:11   ` Jakob Gruber
2009-07-29 16:16     ` Greg KH
2009-07-30 18:37       ` Jakob Gruber
2009-07-30 19:51         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox