mtd/include/linux/mtd nftl.h,1.15,1.16 inftl.h,1.5,1.6

dbrown at infradead.org dbrown at infradead.org
Wed Jun 30 10:49:03 EDT 2004


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

Modified Files:
	nftl.h inftl.h 
Log Message:
Modified to work with new NAND-based DiskOnChip driver.  (forgot to commit these files before)


Index: nftl.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nftl.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- nftl.h	5 May 2004 15:25:23 -0000	1.15
+++ nftl.h	30 Jun 2004 14:49:00 -0000	1.16
@@ -37,6 +37,7 @@
         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;
 };
 
 int NFTL_mount(struct NFTLrecord *s);

Index: inftl.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/inftl.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- inftl.h	5 May 2004 15:16:59 -0000	1.5
+++ inftl.h	30 Jun 2004 14:49:00 -0000	1.6
@@ -28,7 +28,7 @@
 
 struct INFTLrecord {
 	struct mtd_blktrans_dev mbd;
-	__u16 MediaUnit, SpareMediaUnit;
+	__u16 MediaUnit;
 	__u32 EraseSize;
 	struct INFTLMediaHeader MediaHdr;
 	int usecount;
@@ -46,6 +46,7 @@
         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;
 };
 
 int INFTL_mount(struct INFTLrecord *s);





More information about the linux-mtd-cvs mailing list