DiskOnChip 2000/Millennium driver merge.

David Woodhouse dwmw2 at infradead.org
Mon Dec 4 10:53:11 EST 2000


miguel at cetuc.puc-rio.br said:
> 
>    Hummm, this is a little off-topic, but you have just explained me
> why my PIC routines to access DOC2000 were hanging!!! I saw  exactly
> this with a logic analiser, but when using the same DOC on a  PC it
> worked, don't ask me why...(and it never left the WaitReady by
> timeout) 

On a reasonably fast PC, the WaitReady will timeout and you won't lock 
forever. I think we could just change the timeout to something more 
appropriate - rather than a fixed number of loops, repeat until jiffies has 
increased by a certain number of ticks.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list