[lkml]   [2001]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectPATCH: linux-2.4.10-pre4/drivers/net/irda/irda-usb.c incorrectly matched to other USB devices
	linux-2.4.10-pre4/drivers/net/irda/irda-usb.c was missing a
match flag in its array of usb_device_id's, causing it to claim
and attempt to talk to at least one completely incompatible device:
the D-Link DWL-120 USB wireless ethernet adapter. The hot plugging
code also uses this information, causing the irda-usb driver to be
helpfully autoloaded so that it can incorrectly claim this device
even if the module was not originally loaded.

I have verified that, with this patch, the irda-usb driver
is no longer incorrectly loaded when a DWL-120 wireless ethernet
adapter is plugged in.

To all the appropriate people: please apply this patch. Thanks
in advance.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104 \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
--- linux-2.4.10-pre4/drivers/net/irda/irda-usb.c Sun Aug 5 13:12:40 2001
+++ linux/drivers/net/irda/irda-usb.c Tue Sep 4 21:19:43 2001
@@ -76,7 +76,8 @@
{ USB_DEVICE(0x50f, 0x180), driver_info: IUC_SPEED_BUG | IUC_NO_WINDOW },
/* Extended Systems, Inc., XTNDAccess IrDA USB (ESI-9685) */
{ USB_DEVICE(0x8e9, 0x100), driver_info: IUC_SPEED_BUG | IUC_NO_WINDOW },
+ { match_flags: USB_DEVICE_ID_MATCH_INT_CLASS |
bInterfaceClass: USB_CLASS_APP_SPEC,
bInterfaceSubClass: USB_CLASS_IRDA,
driver_info: IUC_DEFAULT, },
 \ /
  Last update: 2005-03-22 13:02    [W:0.463 / U:3.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site