mtd/include/mtd mtd-abi.h,1.6,1.7

gleixner at infradead.org gleixner at infradead.org
Tue Nov 23 10:37:35 EST 2004


Update of /home/cvs/mtd/include/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv25268/include/mtd

Modified Files:
	mtd-abi.h 
Log Message:
Disable virtual eraseblocks on request (MTD_NO_VIRTBLOCKS) is set. Be careful this can eat up a lot of memory

Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mtd-abi.h	9 Aug 2004 13:38:30 -0000	1.6
+++ mtd-abi.h	23 Nov 2004 15:37:32 -0000	1.7
@@ -40,6 +40,7 @@
 #define MTD_XIP			32	// eXecute-In-Place possible
 #define MTD_OOB			64	// Out-of-band data (NAND flash)
 #define MTD_ECC			128	// Device capable of automatic ECC
+#define MTD_NO_VIRTBLOCKS	256	// Virtual blocks not allowed
 
 // Some common devices / combinations of capabilities
 #define MTD_CAP_ROM		0





More information about the linux-mtd-cvs mailing list