X-Git-Url: http://git.rot13.org/?p=linux-2.4.git;a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fehci-q.c;h=3eb66ba85692f00d83fbb6b7ebc25eb702b41ce1;hp=1be8bfa357d92f6f3eb5a6f47d92ee10d000cc71;hb=da2ef5559b159d81e8f57276d69ac6bc2da42943;hpb=343ce5af1bd818f8a4df268831516eb1f4a446bc diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 1be8bfa..3eb66ba 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c @@ -64,9 +64,15 @@ qtd_fill (struct ehci_qtd *qtd, dma_addr_t buf, size_t len, addr = buf; qtd->hw_buf [i] = cpu_to_le32 ((u32)addr); qtd->hw_buf_hi [i] = cpu_to_le32 ((u32)(addr >> 32)); +#if 0 //+Bing try try 12222004 buf += 0x1000; if ((count + 0x1000) < len) count += 0x1000; +#else + buf += 0x4000; + if ((count + 0x4000) < len) + count += 0x4000; +#endif else count = len; }