MTD CVS update: 'mtd/kernel doc2001.c'

Ollie Lho ollie at sis.com.tw
Wed Oct 25 06:01:13 EDT 2000


David Woodhouse wrote:
> 
> ollie at infradead.org said:
> > Log Message:
> > use memcpy_(from|to)_io to increase perfromance a little bit
> 
> Here be dragons.
> 
> Beware that this doesn't start trying to do 32-bit accesses, where the top
> three bytes are random, and that it doesn't break the ECC.
> 
> Probably worth setting USE_MEMCPY in include/linux/mtd/doc2000.h in with
> all the other arch-dependent stuff to set up ReadDOC etc.
> 

Oops, sorry. I just copy it from the dis-asm of M-Systems' driver.
USE_MEMCPY should be protected by #ifdef 386 stuff.

Ollie


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



More information about the linux-mtd mailing list