kernel-ark/include/linux/mtd
Vitaly Wool 7014568bad [MTD] [NAND] remove len/ooblen confusion.
As was discussed between Ricard Wanderlöf, David Woodhouse, Artem 
Bityutskiy and me, the current API for reading/writing OOB is confusing. 

The thing that introduces confusion is the need to specify ops.len 
together with ops.ooblen for reads/writes that concern only OOB not data 
area. So, ops.len is overloaded: when ops.datbuf != NULL it serves to 
specify the length of the data read, and when ops.datbuf == NULL, it 
serves to specify the full OOB read length.

The patch inlined below is the slightly updated version of the previous 
patch serving the same purpose, but with the new Artem's comments taken 
into account.

Artem, BTW, thanks a lot for your valuable input!

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-11-28 22:39:03 +00:00
..
bbm.h
blktrans.h [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
cfi_endian.h
cfi.h
compatmac.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
iflash.h
inftl.h
jedec.h
map.h
mtd.h [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
nand_ecc.h
nand.h [MTD] NAND: Combined oob buffer so it's contiguous with data 2006-10-21 17:48:58 +01:00
ndfc.h
nftl.h
onenand_regs.h [MTD ONENAND] Check OneNAND lock scheme & all block unlock command support 2006-09-26 16:46:28 +01:00
onenand.h [MTD ONENAND] Check OneNAND lock scheme & all block unlock command support 2006-09-26 16:46:28 +01:00
partitions.h
physmap.h
plat-ram.h fix file specification in comments 2006-10-03 23:01:26 +02:00
pmc551.h
xip.h