linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rt2x00: remove USB-ID 148f:2573 from rt2500usb driver
@ 2010-05-03 14:24 rain_maker
  2010-05-03 14:58 ` John W. Linville
  2010-05-03 15:13 ` Ivo Van Doorn
  0 siblings, 2 replies; 8+ messages in thread
From: rain_maker @ 2010-05-03 14:24 UTC (permalink / raw)
  To: linux-wireless; +Cc: Ivo van Doorn

The drivers rt2500usb and rt73usb both contain the usb id 148f:2573 while only 
the latter is suitable for devices with that id.

As a consequence, both drivers will be loaded and system log shows messages 
like "rt2500usb_init_eeprom: Error - Invalid RT chipset detected".

If you use the above search term, you will find more than 1500 hits with a 
well known search engine, confirming that rt2500usb is always the wrong 
driver for devices with usb id 148f:2573 and quite often as a side effect 
confusion arose about this -non fatal but misleading- error message in the 
respective bug reports or threads.

This trivial patch removes the id 148f:2573 from rt2500usb driver.

Signed-off-by:  Axel Koellhofer <rain_maker@root-forum.org>
---

diff -Naur a/drivers/net/wireless/rt2x00/rt2500usb.c 
b/drivers/net/wireless/rt2x00/rt2500usb.c
--- a/drivers/net/wireless/rt2x00/rt2500usb.c	2010-05-03 16:03:29.572101896 
+0200
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c	2010-05-03 16:03:51.902854565 
+0200
@@ -1879,7 +1879,6 @@
 	/* Ralink */
 	{ USB_DEVICE(0x148f, 0x1706), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x148f, 0x2570), USB_DEVICE_DATA(&rt2500usb_ops) },
-	{ USB_DEVICE(0x148f, 0x2573), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x148f, 0x9020), USB_DEVICE_DATA(&rt2500usb_ops) },
 	/* Sagem */
 	{ USB_DEVICE(0x079b, 0x004b), USB_DEVICE_DATA(&rt2500usb_ops) },

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

end of thread, other threads:[~2010-05-03 16:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 14:24 [PATCH] rt2x00: remove USB-ID 148f:2573 from rt2500usb driver rain_maker
2010-05-03 14:58 ` John W. Linville
2010-05-03 15:20   ` rain_maker
2010-05-03 15:47     ` John W. Linville
2010-05-03 16:53       ` rain_maker
2010-05-03 15:13 ` Ivo Van Doorn
2010-05-03 15:29   ` Johannes Berg
2010-05-03 15:30     ` Ivo Van Doorn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).