Greg:

This patch fixes a byte-swapping error in the UHCI driver.  It has been 
present since 2.6.6 and only got tracked down just now!  Thanks a lot to 
Michel Roelofs for all his help and testing.

This should be pushed through to Linus in time to appear in 2.6.8, if 
possible.

Alan Stern



Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

===== drivers/usb/host/uhci-hcd.c 1.119 vs edited =====
--- 1.119/drivers/usb/host/uhci-hcd.c   Thu Jun 24 12:44:16 2004
+++ edited/drivers/usb/host/uhci-hcd.c  Thu Jul  8 10:57:48 2004
@@ -862,7 +862,7 @@
        urbp->short_control_packet = 1;
 
        td = list_entry(urbp->td_list.prev, struct uhci_td, list);
-       urbp->qh->element = td->dma_handle;
+       urbp->qh->element = cpu_to_le32(td->dma_handle);
 
        return -EINPROGRESS;
 }



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to