mtd/include/linux/mtd nand.h,1.40,1.41

gleixner at infradead.org gleixner at infradead.org
Mon Mar 29 10:33:11 EST 2004


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

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

Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- nand.h	29 Mar 2004 08:26:59 -0000	1.40
+++ nand.h	29 Mar 2004 15:33:08 -0000	1.41
@@ -204,6 +204,7 @@
 	int		(*verify_buf)(struct mtd_info *mtd, const u_char *buf, int len);
 	void		(*select_chip)(struct mtd_info *mtd, int chip);
 	int		(*block_bad)(struct mtd_info *mtd, unsigned long pos);
+	int		(*block_markbad)(struct mtd_info *mtd, loff_t ofs);
 	void 		(*hwcontrol)(struct mtd_info *mtd, int cmd);
 	int  		(*dev_ready)(struct mtd_info *mtd);
 	void 		(*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, int page_addr);




More information about the linux-mtd-cvs mailing list