mtd/include/linux/mtd nand.h,1.33,1.34

gleixner at infradead.org gleixner at infradead.org
Sun Mar 28 14:32:33 EST 2004


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

Modified Files:
	nand.h 
Log Message:
basic changes for new chip support

Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- nand.h	28 Mar 2004 19:13:53 -0000	1.33
+++ nand.h	28 Mar 2004 19:32:31 -0000	1.34
@@ -110,11 +110,15 @@
 #define NAND_ECC_WRITE		1
 
 
-/* Option constants for bizarre disfunctionality */
+/* Option constants for bizarre disfunctionality and real
+*  features
+*/
 /* Chip can not auto increment pages */
-#define NAND_NO_AUTOINCR	0x01
-	
-/* Macros to identify the above anomalities */
+#define NAND_NO_AUTOINCR	0x00000001
+/* Buswitdh is 16 bit */
+#define NAND_BUSWIDTH_16	0x00000002
+
+/* Macros to identify the above */
 #define NAND_CANAUTOINCR(chip) (!(chip->options & NAND_NO_AUTOINCR))
 
 /*
@@ -193,7 +197,6 @@
 	int		eccmode;
 	int		eccsize;
 	int 		chip_delay;
-	int		chipshift;
 	spinlock_t	chip_lock;
 	wait_queue_head_t wq;
 	nand_state_t 	state;
@@ -201,6 +204,7 @@
 	u_char 		*data_buf;
 	u_char		*data_poi;
 	unsigned int	options;
+	int		badblockpos;
 	void		*priv;
 };
 




More information about the linux-mtd-cvs mailing list