mtd/drivers/mtd/devices doc2000.c,1.52,1.53 doc2001.c,1.40,1.41 doc2001plus.c,1.4,1.5

David Woodhouse dwmw2 at infradead.org
Wed Jun 11 05:45:22 EDT 2003


Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv4553

Modified Files:
	doc2000.c doc2001.c doc2001plus.c 
Log Message:
Set ecctype so NFTL/INFTL like us again

Index: doc2000.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/doc2000.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- doc2000.c	20 May 2003 21:03:07 -0000	1.52
+++ doc2000.c	11 Jun 2003 09:45:19 -0000	1.53
@@ -553,6 +553,7 @@
 
 	mtd->type = MTD_NANDFLASH;
 	mtd->flags = MTD_CAP_NANDFLASH;
+	mtd->ecctype = MTD_ECC_RS_DiskOnChip;
 	mtd->size = 0;
 	mtd->erasesize = 0;
 	mtd->oobblock = 512;

Index: doc2001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/doc2001.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- doc2001.c	20 May 2003 21:03:07 -0000	1.40
+++ doc2001.c	11 Jun 2003 09:45:19 -0000	1.41
@@ -359,9 +359,10 @@
 
 	mtd->type = MTD_NANDFLASH;
 	mtd->flags = MTD_CAP_NANDFLASH;
+	mtd->ecctype = MTD_ECC_RS_DiskOnChip;
 	mtd->size = 0;
 
-	/* FIXME: erase size is not always 8kB */
+	/* FIXME: erase size is not always 8KiB */
 	mtd->erasesize = 0x2000;
 
 	mtd->oobblock = 512;

Index: doc2001plus.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/doc2001plus.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- doc2001plus.c	23 May 2003 11:28:46 -0000	1.4
+++ doc2001plus.c	11 Jun 2003 09:45:19 -0000	1.5
@@ -458,6 +458,7 @@
 
 	mtd->type = MTD_NANDFLASH;
 	mtd->flags = MTD_CAP_NANDFLASH;
+	mtd->ecctype = MTD_ECC_RS_DiskOnChip;
 	mtd->size = 0;
 
 	mtd->erasesize = 0;




More information about the linux-mtd-cvs mailing list