]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mtd: document that MEMWRITE ioctl is NAND-specific
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Mon, 12 Dec 2011 21:24:59 +0000 (23:24 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:18:36 +0000 (18:18 +0000)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/mtd/mtd-abi.h

index 1a7e1d20adf9ee657044935a5bfc43874d585bb7..36eace03b2ac79229984b09254db9aed3e3b8d5f 100644 (file)
@@ -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)