Greg, This up's the delay for the US_FL_GO_SLOW flag from 110 to 125. In addition to making Jan's device work fully, it's also a microframe, thus seemingly a more sensible number rather than a random delay.
Please apply. -- Phil Dibowitz [EMAIL PROTECTED] Freeware and Technical Pages Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759
This patch changes the delay for the US_FL_GO_SLOW patch from 110us to 125. Some delays need this extra delay includign Jan De Luyck's drive which spawned the original increase from 110 to 110us. 125 is a microframe, so this delay seems to make sense more than just be a random delay (thanks to David Brownell for pointing that out after my original patch). Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> --- diff -puN drivers/usb/storage/transport.c~fix_slow_delay drivers/usb/storage/transport.c --- linux/drivers/usb/storage/transport.c~fix_slow_delay 2005-04-02 23:22:37.000000000 -0800 +++ linux-phil/drivers/usb/storage/transport.c 2005-04-02 23:22:48.000000000 -0800 @@ -996,7 +996,7 @@ int usb_stor_Bulk_transport(struct scsi_ * command phase and the data phase. Some devices need a little * more than that, probably because of clock rate inaccuracies. */ if (unlikely(us->flags & US_FL_GO_SLOW)) - udelay(110); + udelay(125); if (transfer_length) { unsigned int pipe = srb->sc_data_direction == DMA_FROM_DEVICE ? _
signature.asc
Description: OpenPGP digital signature