mtd/include/linux/mtd flashchip.h,1.11,1.12

Nicolas Pitre nico at infradead.org
Wed Jun 9 14:35:54 EDT 2004


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

Modified Files:
	flashchip.h 
Log Message:
No, I'm nuts.  My curent approach for L18 support is getting more
and more messy as I consider all the details that were still missing
and needed extra mods here and there.  When I can't stand my own code
anymore that's a sign that the whole thing should be scrapped.  And
this commit is exactly that.  Stay tuned for an alternate approach. 


Index: flashchip.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/flashchip.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- flashchip.h	8 Jun 2004 21:26:22 -0000	1.11
+++ flashchip.h	9 Jun 2004 18:35:52 -0000	1.12
@@ -40,10 +40,7 @@
 	FL_UNKNOWN
 } flstate_t;
 
-struct flpart {
-	flstate_t state;
-	flstate_t oldstate;
-};
+
 
 /* NOTE: confusingly, this can be used to refer to more than one chip at a time, 
    if they're interleaved. */
@@ -62,14 +59,9 @@
 	flstate_t state;
 	flstate_t oldstate;
 
-	struct flpart *parts;
-	unsigned long partshift;
-
 	int write_suspended:1;
 	int erase_suspended:1;
-
 	unsigned long in_progress_block_addr;
-	unsigned long suspender_block_addr;
 
 	spinlock_t *mutex;
 	spinlock_t _spinlock; /* We do it like this because sometimes they'll be shared. */





More information about the linux-mtd-cvs mailing list