alistair23-linux/drivers/mtd
Ricard Wanderlöf ff0dab64b4 [MTD] NAND: Fix nand_default_mark_blockbad() when flash-based BBT disabled
When a flash-based BBT is not used, nand_default_mark_blockbad() is supposed
to mark the block bad in the oob. However, it sets the wrong length variable
so that no bad block marker is in fact written. This patch attempts to
rectify that.

(As note, it seems to be that logically, it shouldn't be necessary to set
both length variables, as one appears to be for the main buffer, and
one for the oob buffer, but this is how it is done in several places,
including the code for the mtd character device MEMWRITEOOB and MEMREADOOB
ioctls. I'm not sure if this is a temporary solution during some rework of
the mtd infrastructure, or whether there is a deeper thought here.)

Signed-off-by: Ricard Wanderlöf <ricardw@axis.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-26 13:17:49 +03: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 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-10-21 16:46:04 +01:00
nand [MTD] NAND: Fix nand_default_mark_blockbad() when flash-based BBT disabled 2006-10-26 13:17:49 +03: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 [PATCH] mtd cmdlinepart: allow zero offset value 2006-03-31 12:18:48 -08:00
ftl.c [MTD] Make functions static, include header files with prototypes 2005-11-29 19:54:58 +01:00
inftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02: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] fix printk warning 2006-10-01 17:57:26 +01:00
mtdblock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtdblock_ro.c Make mtdblock_ro unconditionally readonly 2006-04-17 15:48:16 +01:00
mtdchar.c [MTD] mtdchar: Fix MEMGETOOBSEL and ECCGETLAYOUT ioctls 2006-10-21 16:33:17 +01:00
mtdconcat.c [MTD] NAND Expose the new raw mode function and status info to userspace 2006-05-30 00:37:34 +02:00
mtdcore.c [MTD] Unlock NOR flash automatically where necessary 2006-09-22 10:07:08 +01:00
mtdpart.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nftlcore.c [MTD] fix nftl_write warning 2006-10-02 09:42:25 +01: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] RFD FTL: Be noisier, and don't assume block without RFD magic are erased 2006-05-17 12:45:34 +01:00
ssfdc.c [MTD] Whitespace cleanup in SSFDC driver. 2006-09-23 16:20:48 +01:00