mtd/include/linux/mtd map.h,1.28,1.29 flashchip.h,1.7,1.8
Joakim Tjernlund
jocke at infradead.org
Mon Oct 21 09:20:55 EDT 2002
- Previous message: mtd/drivers/mtd/maps amd76xrom.c,NONE,1.1 Config.in,1.40,1.41 Makefile,1.33,1.34 ich2rom.c,1.1,1.2 amd766rom.c,1.1,NONE
- Next message: mtd/drivers/mtd mtdpart.c,1.31,1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv12804
Modified Files:
map.h flashchip.h
Log Message:
Better implementation of point()/unpoint().
unpoint() got a face lift and a reference counter added to struct flchip.
Index: map.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/map.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- map.h 5 Sep 2002 20:23:19 -0000 1.28
+++ map.h 21 Oct 2002 13:20:52 -0000 1.29
@@ -47,7 +47,7 @@
void (*copy_to)(struct map_info *, unsigned long, const void *, ssize_t);
u_char * (*point) (struct map_info *, loff_t, size_t);
- void (*unpoint) (struct map_info *, u_char *);
+ void (*unpoint) (struct map_info *, u_char *, loff_t, size_t);
void (*set_vpp)(struct map_info *, int);
/* We put these two here rather than a single void *map_priv,
Index: flashchip.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/flashchip.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- flashchip.h 18 Jan 2001 03:52:36 -0000 1.7
+++ flashchip.h 21 Oct 2002 13:20:52 -0000 1.8
@@ -36,6 +36,7 @@
FL_UNLOADING,
FL_LOCKING,
FL_UNLOCKING,
+ FL_POINT,
FL_UNKNOWN
} flstate_t;
@@ -54,6 +55,7 @@
a given offset, and we'll want to add the per-chip length field
back in.
*/
+ int ref_point_counter;
flstate_t state;
flstate_t oldstate;
spinlock_t *mutex;
- Previous message: mtd/drivers/mtd/maps amd76xrom.c,NONE,1.1 Config.in,1.40,1.41 Makefile,1.33,1.34 ich2rom.c,1.1,1.2 amd766rom.c,1.1,NONE
- Next message: mtd/drivers/mtd mtdpart.c,1.31,1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list