diff options
author | Matias Bjørling | 2015-11-16 15:34:39 +0100 |
---|---|---|
committer | Jens Axboe | 2015-11-16 15:20:27 -0700 |
commit | 12be5edf68e785dd5dc8665db5a88152b49c1fe8 (patch) | |
tree | 56103392277eefac1b259421a9d2e2e73f7f94c1 /include/linux | |
parent | 36d5dbc694e0d1b1909506666d7c27b53f7f9674 (diff) |
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')
-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; |