--- R29/drivers/usb/host/usb-uhci.c 2004-03-24 20:42:22.000000000 +0000 +++ R63/drivers/usb/host/usb-uhci.c 2004-11-11 09:38:55.000000000 +0000 @@ -16,7 +16,7 @@ * (C) Copyright 1999 Randy Dunlap * (C) Copyright 1999 Gregory P. Smith * - * $Id: usb-uhci.c,v 1.1 2004/03/24 20:42:22 sure Exp $ + * $Id: usb-uhci.c,v 1.3 2004/10/19 03:36:08 pete Exp $ */ #include @@ -53,7 +53,7 @@ /* This enables an extra UHCI slab for memory debugging */ #define DEBUG_SLAB -#define VERSTR "$Revision: 1.1 $ time " __TIME__ " " __DATE__ +#define VERSTR "$Revision: 1.3 $ time " __TIME__ " " __DATE__ #include #include "usb-uhci.h" @@ -2330,6 +2330,10 @@ status stage is completed */ + //Pete + //uhci_urb_dma_sync(s, urb, urb->hcpriv); + // + if (urb_priv->flags && ((qh->hw.qh.element == cpu_to_le32(UHCI_PTR_TERM)) || !is_td_active(desc))) goto transfer_finished; @@ -2364,6 +2368,10 @@ else if ((le32_to_cpu(desc->hw.td.info) & 0xff) != USB_PID_SETUP) urb->actual_length += actual_length; + //Pete + uhci_urb_dma_sync(s, urb, urb->hcpriv); + // + // got less data than requested if ( (actual_length < maxlength)) { if (urb->transfer_flags & USB_DISABLE_SPD) {