mtd/include/linux/mtd mtd.h,1.35,1.36
Greg Ungerer
gerg at infradead.org
Fri Sep 20 09:04:06 EDT 2002
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv6100/include/linux/mtd
Modified Files:
mtd.h
Log Message:
Added new ioctl commands, MEMREADDATA and MEMWRITEDATA, to allow
for non-ecc reads and writes of flash sector data. The commands use
the same arguments as the MEMREADOOB and MEMWRITEOOB ioctls.
Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- mtd.h 29 Aug 2002 21:41:42 -0000 1.35
+++ mtd.h 20 Sep 2002 13:04:03 -0000 1.36
@@ -93,6 +93,8 @@
#define MEMUNLOCK _IOW('M', 6, struct erase_info_user)
#define MEMGETREGIONCOUNT _IOR('M', 7, int)
#define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user)
+#define MEMREADDATA _IOWR('M', 9, struct mtd_oob_buf)
+#define MEMWRITEDATA _IOWR('M', 10, struct mtd_oob_buf)
#ifndef __KERNEL__
More information about the linux-mtd-cvs
mailing list