Hi!

Normally the CDC ACM devices have an subclass of 0, and the ACM subclass is
only applied to their first interface. But some have the subclass set on
the device itself, namely Motorola mobile phones. This patch takes those
devices into account.

-- 
Vojtech Pavlik
SuSE Labs
[EMAIL PROTECTED], 2003-01-25 14:47:30+01:00, [EMAIL PROTECTED]
  USB: cdc-acm.c - Add a table entry for devices with ACM device subclass (some 
Motorola phones).


 cdc-acm.c |    1 +
 1 files changed, 1 insertion(+)


diff -Nru a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
--- a/drivers/usb/class/cdc-acm.c       Sat Jan 25 14:53:10 2003
+++ b/drivers/usb/class/cdc-acm.c       Sat Jan 25 14:53:10 2003
@@ -697,6 +697,7 @@
 
 static struct usb_device_id acm_ids[] = {
        { USB_DEVICE_INFO(USB_CLASS_COMM, 0, 0) },
+       { USB_DEVICE_INFO(USB_CLASS_COMM, 2, 0) },
        { }
 };
 

Reply via email to