aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2015-11-16 15:34:39 +0100
committerJens Axboe <axboe@fb.com>2015-11-16 15:20:27 -0700
commit12be5edf68e785dd5dc8665db5a88152b49c1fe8 (patch)
tree56103392277eefac1b259421a9d2e2e73f7f94c1 /include
parentlightnvm: update alignments for identify command (diff)
downloadlinux-dev-12be5edf68e785dd5dc8665db5a88152b49c1fe8.tar.xz
linux-dev-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')
-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;