mtd/include/linux/mtd doc2000.h,1.21,1.22

David Woodhouse dwmw2 at infradead.org
Wed Nov 5 05:51:39 EST 2003


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

Modified Files:
	doc2000.h 
Log Message:
Treat new DiskOnChip 2000 units as Millennium

Index: doc2000.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/doc2000.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- doc2000.h	11 Jul 2003 07:36:21 -0000	1.21
+++ doc2000.h	5 Nov 2003 10:51:36 -0000	1.22
@@ -114,6 +114,7 @@
 #define DOC_MODE_MDWREN 	0x04
 
 #define DOC_ChipID_Doc2k 	0x20
+#define DOC_ChipID_Doc2kTSOP 	0x21	/* internal number for MTD */
 #define DOC_ChipID_DocMil 	0x30
 #define DOC_ChipID_DocMilPlus32	0x40
 #define DOC_ChipID_DocMilPlus16	0x41
@@ -169,7 +170,7 @@
 	unsigned long physadr;
 	unsigned long virtadr;
 	unsigned long totlen;
-	char ChipID; /* Type of DiskOnChip */
+	unsigned char ChipID; /* Type of DiskOnChip */
 	int ioreg;
 	
 	unsigned long mfr; /* Flash IDs - only one type of flash per device */




More information about the linux-mtd-cvs mailing list