patch-2.4.21 linux-2.4.21/drivers/usb/acm.c
Next file: linux-2.4.21/drivers/usb/audio.c
Previous file: linux-2.4.21/drivers/usb/Makefile
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
2003-06-13 07:51:36.000000000 -0700
-  Orig file: 
linux-2.4.20/drivers/usb/acm.c
-  Orig date: 
2002-11-28 15:53:14.000000000 -0800
diff -urN linux-2.4.20/drivers/usb/acm.c linux-2.4.21/drivers/usb/acm.c
@@ -240,7 +240,7 @@
 	if (urb->status)
 		dbg("nonzero read bulk status received: %d", urb->status);
 
-	if (!urb->status & !acm->throttle)  {
+	if (!urb->status && !acm->throttle)  {
 		for (i = 0; i < urb->actual_length && !acm->throttle; i++) {
 			/* if we insert more than TTY_FLIPBUF_SIZE characters,
 			 * we drop them. */
@@ -649,7 +649,9 @@
  */
 
 static struct usb_device_id acm_ids[] = {
+	{ USB_DEVICE(0x22B8, 0x1005) },		/* Motorola TimePort 280 */
 	{ USB_DEVICE_INFO(USB_CLASS_COMM, 0, 0) },
+	{ USB_DEVICE_INFO(USB_CLASS_COMM, 2, 0) },
 	{ }
 };
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)