mtd: document that MEMWRITE ioctl is NAND-specific

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Jan 9 13:59:07 EST 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=2b00668ff9d91d594a204ff2c3bf940d483e4b5f
Commit:     2b00668ff9d91d594a204ff2c3bf940d483e4b5f
Parent:     9ae84fe8c18cabc348b9c7cd1e98419cd0cbf481
Author:     Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
AuthorDate: Mon Dec 12 23:24:59 2011 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Jan 9 18:18:36 2012 +0000

    mtd: document that MEMWRITE ioctl is NAND-specific
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 include/mtd/mtd-abi.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index 1a7e1d2..36eace0 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -198,7 +198,8 @@ struct otp_info {
 #define MEMISLOCKED		_IOR('M', 23, struct erase_info_user)
 /*
  * Most generic write interface; can write in-band and/or out-of-band in various
- * modes (see "struct mtd_write_req")
+ * modes (see "struct mtd_write_req"). This ioctl is not supported for flashes
+ * without OOB, e.g., NOR flash.
  */
 #define MEMWRITE		_IOWR('M', 24, struct mtd_write_req)
 



More information about the linux-mtd-cvs mailing list