summaryrefslogtreecommitdiffstats
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorMatias Bjørling2015-11-16 15:34:39 +0100
committerJens Axboe2015-11-16 23:20:27 +0100
commit12be5edf68e785dd5dc8665db5a88152b49c1fe8 (patch)
tree56103392277eefac1b259421a9d2e2e73f7f94c1 /include/linux/lightnvm.h
parentlightnvm: update alignments for identify command (diff)
downloadkernel-qcow2-linux-12be5edf68e785dd5dc8665db5a88152b49c1fe8.tar.gz
kernel-qcow2-linux-12be5edf68e785dd5dc8665db5a88152b49c1fe8.tar.xz
kernel-qcow2-linux-12be5edf68e785dd5dc8665db5a88152b49c1fe8.zip
lightnvm: expose mccap in identify command
The mccap field is required for I/O command option support. It defines the following flash access modes: * SLC mode * Erase/Program Suspension * Scramble On/Off * Encryption It is slotted in between mpos and cpar, changing the offset for cpar as well. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/lightnvm.h')
-rw-r--r--include/linux/lightnvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 9b3dc1bc9296..2572856e2a89 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -74,6 +74,7 @@ struct nvm_id_group {
u32 tbet;
u32 tbem;
u32 mpos;
+ u32 mccap;
u16 cpar;
u8 res[913];
} __packed;