Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=73a4421c5a0aa77b996891e7616b396c360b3ed8
Commit:     73a4421c5a0aa77b996891e7616b396c360b3ed8
Parent:     64f60710568db5cec1a76c1d1e261b239f9ef809
Author:     Artem Bityutskiy <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 31 11:43:13 2007 +0200
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Fri Feb 9 15:27:50 2007 +0000

    [MTD] Clarify OOB-operation interface comments
    
    Add more comment to OOB I/O interface. Read/write are not
    symmetric which is confusing and should be documented.
    
    Signed-off-by: Artem Bityutskiy <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 include/linux/mtd/mtd.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 8a2e8bf..6a8570b 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -85,6 +85,10 @@ typedef enum {
  *             mode = MTD_OOB_PLACE)
  * @datbuf:    data buffer - if NULL only oob data are read/written
  * @oobbuf:    oob data buffer
+ *
+ * Note, it is allowed to read more then one OOB area at one go, but not write.
+ * The interface assumes that the OOB write requests program only one page's
+ * OOB area.
  */
 struct mtd_oob_ops {
        mtd_oob_mode_t  mode;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to