lkml.org 
[lkml]   [2009]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
SubjectMissing 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@kabelnet.at>


\
 
 \ /
  Last update: 2009-07-28 23:59    [W:0.052 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site