mtd/include/linux/mtd mtd.h,1.37,1.38
spse at infradead.org
spse at infradead.org
Sun Jan 12 11:30:21 EST 2003
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv10575/include/linux/mtd
Modified Files:
mtd.h
Log Message:
Add default_mtd_readv() and default_mtd_writev() for drivers
that dont implement their own.
Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- mtd.h 19 Nov 2002 01:22:31 -0000 1.37
+++ mtd.h 12 Jan 2003 16:30:19 -0000 1.38
@@ -257,6 +257,11 @@
extern void register_mtd_user (struct mtd_notifier *new);
extern int unregister_mtd_user (struct mtd_notifier *old);
+int default_mtd_writev(struct mtd_info *mtd, const struct iovec *vecs,
+ unsigned long count, loff_t to, size_t *retlen);
+
+int default_mtd_readv(struct mtd_info *mtd, struct iovec *vecs,
+ unsigned long count, loff_t from, size_t *retlen);
#ifndef MTDC
#define MTD_ERASE(mtd, args...) (*(mtd->erase))(mtd, args)
More information about the linux-mtd-cvs
mailing list