mtd/include/linux/mtd mtd.h,1.46,1.47

gleixner at infradead.org gleixner at infradead.org
Mon Mar 29 06:25:05 EST 2004


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

Modified Files:
	mtd.h 
Log Message:
add bad block management functions to mtd

Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- mtd.h	11 Jul 2003 07:36:21 -0000	1.46
+++ mtd.h	29 Mar 2004 11:25:01 -0000	1.47
@@ -228,6 +228,10 @@
 	int (*suspend) (struct mtd_info *mtd);
 	void (*resume) (struct mtd_info *mtd);
 
+	/* Bad block management functions */
+	int (*block_isbad) (struct mtd_info *mtd, loff_t ofs);
+	int (*block_markbad) (struct mtd_info *mtd, loff_t ofs);
+
 	void *priv;
 
 	struct module *owner;




More information about the linux-mtd-cvs mailing list