git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
mtd
/
inftl.h
diff --git
a/include/linux/mtd/inftl.h
b/include/linux/mtd/inftl.h
index
b52c8cb
..
6977780
100644
(file)
--- a/
include/linux/mtd/inftl.h
+++ b/
include/linux/mtd/inftl.h
@@
-3,7
+3,7
@@
*
* (C) Copyright 2002, Greg Ungerer (gerg@snapgear.com)
*
*
* (C) Copyright 2002, Greg Ungerer (gerg@snapgear.com)
*
- * $Id: inftl.h,v 1.
6 2004/06/30 14:49:00 dbrow
n Exp $
+ * $Id: inftl.h,v 1.
7 2005/06/13 13:08:45 sea
n Exp $
*/
#ifndef __MTD_INFTL_H__
*/
#ifndef __MTD_INFTL_H__
@@
-20,7
+20,7
@@
#include <mtd/inftl-user.h>
#ifndef INFTL_MAJOR
#include <mtd/inftl-user.h>
#ifndef INFTL_MAJOR
-#define INFTL_MAJOR 9
4
+#define INFTL_MAJOR 9
6
#endif
#define INFTL_PARTN_BITS 4
#endif
#define INFTL_PARTN_BITS 4
@@
-46,12
+46,17
@@
struct INFTLrecord {
unsigned int nb_blocks; /* number of physical blocks */
unsigned int nb_boot_blocks; /* number of blocks used by the bios */
struct erase_info instr;
unsigned int nb_blocks; /* number of physical blocks */
unsigned int nb_boot_blocks; /* number of blocks used by the bios */
struct erase_info instr;
- struct nand_
oobinfo
oobinfo;
+ struct nand_
ecclayout
oobinfo;
};
int INFTL_mount(struct INFTLrecord *s);
int INFTL_formatblock(struct INFTLrecord *s, int block);
};
int INFTL_mount(struct INFTLrecord *s);
int INFTL_formatblock(struct INFTLrecord *s, int block);
+extern char inftlmountrev[];
+
+void INFTL_dumptables(struct INFTLrecord *s);
+void INFTL_dumpVUchains(struct INFTLrecord *s);
+
#endif /* __KERNEL__ */
#endif /* __MTD_INFTL_H__ */
#endif /* __KERNEL__ */
#endif /* __MTD_INFTL_H__ */