Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1567348
| From | "Javier González" <jg@lightnvm.io> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] lightnvm: Add CRC read error |
| Date | 2017-01-26 12:50 +0100 |
| Message-ID | <t3QIV-6NB-1@gated-at.bofh.it> (permalink) |
| References | <t3QIV-6NB-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Let the host differentiate between a read error and a CRC check error on
the device side.
Signed-off-by: Javier González <javier@cnexlabs.com>
---
include/linux/lightnvm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 11c318e..51cda67 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -108,6 +108,7 @@ enum {
NVM_RSP_ERR_FAILWRITE = 0x40ff,
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
NVM_RSP_ERR_FAILECC = 0x4281,
+ NVM_RSP_ERR_FAILCRC = 0x4004,
NVM_RSP_WARN_HIGHECC = 0x4700,
/* Device opcodes */
--
2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 3/3] lightnvm: Add CRC read error "Javier González" <jg@lightnvm.io> - 2017-01-26 12:50 +0100 Re: [PATCH 3/3] lightnvm: Add CRC read error Matias Bjørling <mb@lightnvm.io> - 2017-01-30 11:20 +0100
csiph-web