summaryrefslogtreecommitdiff
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2015-11-16 17:34:39 +0300
committerJens Axboe <axboe@fb.com>2015-11-17 01:20:27 +0300
commit12be5edf68e785dd5dc8665db5a88152b49c1fe8 (patch)
tree56103392277eefac1b259421a9d2e2e73f7f94c1 /include/linux/lightnvm.h
parent36d5dbc694e0d1b1909506666d7c27b53f7f9674 (diff)
downloadlinux-12be5edf68e785dd5dc8665db5a88152b49c1fe8.tar.xz
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;