aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Brown <dan_brown@ieee.org>2005-04-06 16:14:22 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 07:10:57 -0400
commitdff59421983b235d5b8f713d01213fcc7f57c970 (patch)
treeeb66f557464bc05fb36016ffa04728ab134f0044 /drivers
parent82e1d19fc3e6bd20b65937352a015a412b751d47 (diff)
[MTD] DiskOnChip: Prevent problems with existing filesystems
Try not to break existing jffs2 installs, instead break oobfree into two out-of-order pieces. Signed-off-by: Dan Brown <dan_brown@ieee.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/diskonchip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index ee579dd3278a..fdc495c2f3e9 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -16,7 +16,7 @@
16 * 16 *
17 * Interface to generic NAND code for M-Systems DiskOnChip devices 17 * Interface to generic NAND code for M-Systems DiskOnChip devices
18 * 18 *
19 * $Id: diskonchip.c,v 1.51 2005/04/06 18:10:20 dbrown Exp $ 19 * $Id: diskonchip.c,v 1.52 2005/04/06 20:14:19 dbrown Exp $
20 */ 20 */
21 21
22#include <linux/kernel.h> 22#include <linux/kernel.h>
@@ -1055,7 +1055,7 @@ static struct nand_oobinfo doc200x_oobinfo = {
1055 .useecc = MTD_NANDECC_AUTOPLACE, 1055 .useecc = MTD_NANDECC_AUTOPLACE,
1056 .eccbytes = 6, 1056 .eccbytes = 6,
1057 .eccpos = {0, 1, 2, 3, 4, 5}, 1057 .eccpos = {0, 1, 2, 3, 4, 5},
1058 .oobfree = { {6, 10} } 1058 .oobfree = { {8, 8}, {6, 2} }
1059}; 1059};
1060 1060
1061/* Find the (I)NFTL Media Header, and optionally also the mirror media header. 1061/* Find the (I)NFTL Media Header, and optionally also the mirror media header.