mtd/include/linux/mtd mtd.h,1.51,1.52
dbrown at infradead.org
dbrown at infradead.org
Wed Jun 30 11:17:44 EDT 2004
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv12929/include/linux/mtd
Modified Files:
mtd.h
Log Message:
Add ability for callers to localize multi-block erase failures to a specific eraseblock. (NAND only)
Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- mtd.h 5 May 2004 14:44:56 -0000 1.51
+++ mtd.h 30 Jun 2004 15:17:42 -0000 1.52
@@ -31,10 +31,14 @@
#define MTD_ERASE_DONE 0x08
#define MTD_ERASE_FAILED 0x10
+/* If the erase fails, fail_addr might indicate exactly which block failed. If
+ fail_addr = 0xffffffff, the failure was not at the device level or was not
+ specific to any particular block. */
struct erase_info {
struct mtd_info *mtd;
u_int32_t addr;
u_int32_t len;
+ u_int32_t fail_addr;
u_long time;
u_long retries;
u_int dev;
More information about the linux-mtd-cvs
mailing list