mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
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>
This commit is contained in:
parent
a24ba4644b
commit
402ab9a89d
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ enum {
|
||||||
NVM_RSP_NOT_CHANGEABLE = 0x1,
|
NVM_RSP_NOT_CHANGEABLE = 0x1,
|
||||||
NVM_RSP_ERR_FAILWRITE = 0x40ff,
|
NVM_RSP_ERR_FAILWRITE = 0x40ff,
|
||||||
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
|
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
|
||||||
|
NVM_RSP_ERR_FAILECC = 0x4281,
|
||||||
|
NVM_RSP_WARN_HIGHECC = 0x4700,
|
||||||
|
|
||||||
/* Device opcodes */
|
/* Device opcodes */
|
||||||
NVM_OP_HBREAD = 0x02,
|
NVM_OP_HBREAD = 0x02,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue