summaryrefslogtreecommitdiffstats
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorMatias Bjørling <matias@cnexlabs.com>2017-01-31 07:17:15 -0500
committerJens Axboe <axboe@fb.com>2017-01-31 10:32:13 -0500
commit19bd6fe73ca812964963aa30827cff9aae64a715 (patch)
treef01107a5aaa6c09fea5d0ad2454fc9954d8e376c /include/linux/lightnvm.h
parentdab8ee9e8a30620a5b5f22d6c0b3749217093803 (diff)
lightnvm: reduce number of nvm_id groups to one
The number of configuration groups has been limited to one in current code, even if there is support for up to four. With the introduction of the open-channel SSD 1.3 specification, only a single group is exposed onwards. Reflect this in the nvm_id structure. Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/lightnvm.h')
-rw-r--r--include/linux/lightnvm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index faa0fbfe339a..ce0b2dac84ac 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -200,11 +200,10 @@ struct nvm_addr_format {
200struct nvm_id { 200struct nvm_id {
201 u8 ver_id; 201 u8 ver_id;
202 u8 vmnt; 202 u8 vmnt;
203 u8 cgrps;
204 u32 cap; 203 u32 cap;
205 u32 dom; 204 u32 dom;
206 struct nvm_addr_format ppaf; 205 struct nvm_addr_format ppaf;
207 struct nvm_id_group groups[4]; 206 struct nvm_id_group grp;
208} __packed; 207} __packed;
209 208
210struct nvm_target { 209struct nvm_target {