Question on 'doc_read_ecc'...

David Woodhouse dwmw2 at
Wed Sep 27 10:10:29 EDT 2000

sjhill at said:
> If I am understanding things correctly, in 'doc_read_ecc' we prevent
> the caller from reading across a 512 byte boundary and that they
> cannot read more than 512 bytes at a time. Is this correct for DoC2xxx
> devices and should it be the case for NAND devices as well? I believe
> that for NAND devices it makes sense since VFS and filesystems on
> average assume a 512 byte sector size. Just looking for agreement on
> my thought process. 

Scrap the limitation. It was OK when the only use of doc2000 was NFTL, but 
now it's broken. doc2000.c ought to do the right thing.


To unsubscribe, send "unsubscribe mtd" to majordomo at

More information about the linux-mtd mailing list