diff options
author | Matias Bjørling | 2015-11-16 15:34:39 +0100 |
---|---|---|
committer | Jens Axboe | 2015-11-16 23:20:27 +0100 |
commit | 12be5edf68e785dd5dc8665db5a88152b49c1fe8 (patch) | |
tree | 56103392277eefac1b259421a9d2e2e73f7f94c1 /include/linux/lightnvm.h | |
parent | lightnvm: update alignments for identify command (diff) | |
download | kernel-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.h | 1 |
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; |