mtd/include/linux/mtd nand.h,1.36,1.37

gleixner at infradead.org gleixner at infradead.org
Sun Mar 28 18:53:22 EST 2004


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

Modified Files:
	nand.h 
Log Message:
Add number of chips to nand structure as we need support for the dual chips

Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- nand.h	28 Mar 2004 23:01:30 -0000	1.36
+++ nand.h	28 Mar 2004 23:53:20 -0000	1.37
@@ -112,7 +112,6 @@
 #define NAND_ECC_READ		0
 #define NAND_ECC_WRITE		1
 
-
 /* Option constants for bizarre disfunctionality and real
 *  features
 */
@@ -127,6 +126,7 @@
 /* Chip has copy back function */
 #define NAND_COPYBACK		0x00000010
 
+/* Options valid for Samsung large page devices */
 #define NAND_SAMSUNG_LP_OPTIONS \
 	(NAND_NO_PADDING | NAND_CACHEPRG | NAND_COPYBACK)
 
@@ -222,6 +222,7 @@
 	u_char		*data_poi;
 	unsigned int	options;
 	int		badblockpos;
+	int		numchips;
 	void		*priv;
 };
 




More information about the linux-mtd-cvs mailing list