patch-2.3.34 linux/drivers/usb/acm.c

Next file: linux/drivers/usb/audio.c
Previous file: linux/drivers/usb/README.uhci
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.33/linux/drivers/usb/acm.c linux/drivers/usb/acm.c
@@ -139,7 +139,7 @@
 {
 	unsigned char *data;
 	struct acm_state *acm = (struct acm_state *)dev_id;
-        devrequest *dr;
+	devrequest *dr;
 
 	info("ACM_USB_IRQ\n");
 
@@ -153,13 +153,13 @@
 	if (!acm->active)
 		return 1;
 
-        dr = __buffer;
+	dr = __buffer;
 	data = __buffer;
 	data += sizeof(dr);
  
 #if 0
-        printk("reqtype: %02X\n",dr->requesttype);
-        printk("request: %02X\n",dr->request);
+	printk("reqtype: %02X\n",dr->requesttype);
+	printk("request: %02X\n",dr->request);
 	printk("wValue: %02X\n",dr->value);
 	printk("wIndex: %02X\n",dr->index);
 	printk("wLength: %02X\n",dr->length);
@@ -414,7 +414,7 @@
 	/* Only use CDC */
 	if (dev->descriptor.bDeviceClass != 2 ||
 	    dev->descriptor.bDeviceSubClass != 0 ||
-            dev->descriptor.bDeviceProtocol != 0)
+	    dev->descriptor.bDeviceProtocol != 0)
 		return NULL;
 
 #define IFCLASS(if) ((if->bInterfaceClass << 24) | (if->bInterfaceSubClass << 16) | (if->bInterfaceProtocol << 8) | (if->bNumEndpoints))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)