diff options
author | Javier González <jg@lightnvm.io> | 2016-11-29 00:38:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-29 22:12:51 +0300 |
commit | 402ab9a89d7b5bab08a5534027b39d80085ec19b (patch) | |
tree | 1fb9b12e519c6b2d7a25b3cdafe3a170f1dad314 /include/linux/lightnvm.h | |
parent | a24ba4644b7ae5af3cd2eb6992c237cb4548c45e (diff) | |
download | linux-402ab9a89d7b5bab08a5534027b39d80085ec19b.tar.xz |
lightnvm: add ECC error codes
Add ECC error codes to enable the appropriate handling in the target.
Signed-off-by: Javier González <javier@cnexlabs.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index 4480d1c6a1a5..6b26a3289bce 100644 --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -107,6 +107,8 @@ enum { NVM_RSP_NOT_CHANGEABLE = 0x1, NVM_RSP_ERR_FAILWRITE = 0x40ff, NVM_RSP_ERR_EMPTYPAGE = 0x42ff, + NVM_RSP_ERR_FAILECC = 0x4281, + NVM_RSP_WARN_HIGHECC = 0x4700, /* Device opcodes */ NVM_OP_HBREAD = 0x02, |