<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">diff -Nru a/drivers/usb/auerswald.c b/drivers/usb/auerswald.c
--- a/drivers/usb/auerswald.c	Mon Jan  7 10:11:32 2002
+++ b/drivers/usb/auerswald.c	Mon Jan  7 10:11:32 2002
@@ -692,7 +692,7 @@
 	dr-&gt;bRequest = request;
 	dr-&gt;wValue  = cpu_to_le16 (value);
 	dr-&gt;wIndex  = cpu_to_le16 (index);
-	dr-&gt;wlength = cpu_to_le16 (size);
+	dr-&gt;wLength = cpu_to_le16 (size);
 
 	FILL_CONTROL_URB (urb, dev, pipe, (unsigned char*)dr, data, size,    /* build urb */
 		          (usb_complete_t)auerchain_blocking_completion,0);
@@ -891,13 +891,13 @@
 	}
 
 	/* fill the control message */
-	bp-&gt;dr-&gt;requesttype = AUT_RREQ;
-	bp-&gt;dr-&gt;request     = AUV_RBLOCK;
-	bp-&gt;dr-&gt;length      = bp-&gt;dr-&gt;value;	/* temporary stored */
-	bp-&gt;dr-&gt;value       = cpu_to_le16 (1);	/* Retry Flag */
+	bp-&gt;dr-&gt;bRequestType = AUT_RREQ;
+	bp-&gt;dr-&gt;bRequest     = AUV_RBLOCK;
+	bp-&gt;dr-&gt;wLength      = bp-&gt;dr-&gt;wValue;	/* temporary stored */
+	bp-&gt;dr-&gt;wValue       = cpu_to_le16 (1);	/* Retry Flag */
 	/* bp-&gt;dr-&gt;index    = channel id;          remains */
 	FILL_CONTROL_URB (bp-&gt;urbp, cp-&gt;usbdev, usb_rcvctrlpipe (cp-&gt;usbdev, 0),
-                          (unsigned char*)bp-&gt;dr, bp-&gt;bufp, le16_to_cpu (bp-&gt;dr-&gt;length),
+                          (unsigned char*)bp-&gt;dr, bp-&gt;bufp, le16_to_cpu (bp-&gt;dr-&gt;wLength),
 		          (usb_complete_t)auerswald_ctrlread_complete,bp);
 
 	/* submit the control msg as next paket */
@@ -937,11 +937,11 @@
 		bp-&gt;retries++;
 		dbg ("Retry count = %d", bp-&gt;retries);
 		/* send a long dummy control-write-message to allow device firmware to react */
-		bp-&gt;dr-&gt;requesttype = AUT_WREQ;
-		bp-&gt;dr-&gt;request     = AUV_DUMMY;
-		bp-&gt;dr-&gt;value       = bp-&gt;dr-&gt;length; /* temporary storage */
-		// bp-&gt;dr-&gt;index    channel ID remains
-		bp-&gt;dr-&gt;length      = cpu_to_le16 (32); /* &gt;= 8 bytes */
+		bp-&gt;dr-&gt;bRequestType = AUT_WREQ;
+		bp-&gt;dr-&gt;bRequest     = AUV_DUMMY;
+		bp-&gt;dr-&gt;wValue       = bp-&gt;dr-&gt;wLength; /* temporary storage */
+		// bp-&gt;dr-&gt;wIndex    channel ID remains
+		bp-&gt;dr-&gt;wLength      = cpu_to_le16 (32); /* &gt;= 8 bytes */
 		FILL_CONTROL_URB (bp-&gt;urbp, cp-&gt;usbdev, usb_sndctrlpipe (cp-&gt;usbdev, 0),
   			(unsigned char*)bp-&gt;dr, bp-&gt;bufp, 32,
 	   		(usb_complete_t)auerswald_ctrlread_wretcomplete,bp);
@@ -1056,11 +1056,11 @@
         }
 
 	/* fill the control message */
-        bp-&gt;dr-&gt;requesttype = AUT_RREQ;
-	bp-&gt;dr-&gt;request     = AUV_RBLOCK;
-	bp-&gt;dr-&gt;value       = cpu_to_le16 (0);
-	bp-&gt;dr-&gt;index       = cpu_to_le16 (channelid | AUH_DIRECT | AUH_UNSPLIT);
-	bp-&gt;dr-&gt;length      = cpu_to_le16 (bytecount);
+        bp-&gt;dr-&gt;bRequestType = AUT_RREQ;
+	bp-&gt;dr-&gt;bRequest     = AUV_RBLOCK;
+	bp-&gt;dr-&gt;wValue       = cpu_to_le16 (0);
+	bp-&gt;dr-&gt;wIndex       = cpu_to_le16 (channelid | AUH_DIRECT | AUH_UNSPLIT);
+	bp-&gt;dr-&gt;wLength      = cpu_to_le16 (bytecount);
 	FILL_CONTROL_URB (bp-&gt;urbp, cp-&gt;usbdev, usb_rcvctrlpipe (cp-&gt;usbdev, 0),
                           (unsigned char*)bp-&gt;dr, bp-&gt;bufp, bytecount,
 		          (usb_complete_t)auerswald_ctrlread_complete,bp);
@@ -1773,11 +1773,11 @@
 
 	/* Set the transfer Parameters */
 	bp-&gt;len = len+AUH_SIZE;
-        bp-&gt;dr-&gt;requesttype = AUT_WREQ;
-	bp-&gt;dr-&gt;request     = AUV_WBLOCK;
-	bp-&gt;dr-&gt;value       = cpu_to_le16 (0);
-	bp-&gt;dr-&gt;index       = cpu_to_le16 (ccp-&gt;scontext.id | AUH_DIRECT | AUH_UNSPLIT);
-	bp-&gt;dr-&gt;length      = cpu_to_le16 (len+AUH_SIZE);
+        bp-&gt;dr-&gt;bRequestType = AUT_WREQ;
+	bp-&gt;dr-&gt;bRequest     = AUV_WBLOCK;
+	bp-&gt;dr-&gt;wValue       = cpu_to_le16 (0);
+	bp-&gt;dr-&gt;wIndex       = cpu_to_le16 (ccp-&gt;scontext.id | AUH_DIRECT | AUH_UNSPLIT);
+	bp-&gt;dr-&gt;wLength      = cpu_to_le16 (len+AUH_SIZE);
 	FILL_CONTROL_URB (bp-&gt;urbp, cp-&gt;usbdev, usb_sndctrlpipe (cp-&gt;usbdev, 0),
                    (unsigned char*)bp-&gt;dr, bp-&gt;bufp, len+AUH_SIZE,
 		    auerchar_ctrlwrite_complete, bp);
</pre></body></html>