linux_dsm_epyc7002/drivers/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
..
chips [MTD] NOR: leave Intel chips in read-array mode on suspend 2006-10-21 16:43:53 +01:00
devices [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
maps [MTD] [MAPS] Support for BIOS flash chips on the nvidia ck804 southbridge 2006-11-28 22:25:27 +00:00
nand [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
onenand Fix several typos in drivers/ 2006-10-03 22:31:37 +02:00
afs.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
cmdlinepart.c [MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static 2006-11-28 22:19:16 +00:00
ftl.c [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
inftlcore.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
inftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
Kconfig [MTD] SSFDC must depend on BLOCK 2006-10-09 07:25:28 +01:00
Makefile [MTD] Add SSFDC (SmartMedia) read-only translation layer 2006-09-22 11:01:37 +01:00
mtd_blkdevs.c [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
mtdblock_ro.c [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
mtdblock.c [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
mtdchar.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
mtdconcat.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
mtdcore.c [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
mtdpart.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
nftlcore.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
nftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Fix build warnings in RedBoot MTD partition parser. 2006-05-16 17:31:15 +01:00
rfd_ftl.c [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
ssfdc.c [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00