mtd/include/mtd mtd-abi.h,1.3,1.4
gleixner at infradead.org
gleixner at infradead.org
Fri Jun 4 10:42:56 EDT 2004
Update of /home/cvs/mtd/include/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv31177
Modified Files:
mtd-abi.h
Log Message:
Add ioctls for oob and bad block handling. Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mtd-abi.h 4 Jun 2004 09:03:35 -0000 1.3
+++ mtd-abi.h 4 Jun 2004 14:42:54 -0000 1.4
@@ -82,6 +82,9 @@
#define MEMGETREGIONCOUNT _IOR('M', 7, int)
#define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user)
#define MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo)
+#define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo)
+#define MEMGETBADBLOCK _IOW('M', 11, loff_t)
+#define MEMSETBADBLOCK _IOW('M', 12, loff_t)
struct nand_oobinfo {
uint32_t useecc;
More information about the linux-mtd-cvs
mailing list