Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1587766

[PATCH 2/3] lightnvm: rename scrambler controller hint

From "Javier González" <jg@lightnvm.io>
Newsgroups linux.kernel
Subject [PATCH 2/3] lightnvm: rename scrambler controller hint
Date 2017-02-24 17:20 +0100
Message-ID <teqL8-2Ds-41@gated-at.bofh.it> (permalink)
References <teqL7-2Ds-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


According to the OCSSD 1.2 specification, the 0x200 hint enables the
media scrambler for the read/write opcode, providing that the controller
has been correctly configured by the firmware. Rename the macro to
represent this meaning.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
---
 include/linux/lightnvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 6a3534b..bebea80 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -123,7 +123,7 @@ enum {
 	/* NAND Access Modes */
 	NVM_IO_SUSPEND		= 0x80,
 	NVM_IO_SLC_MODE		= 0x100,
-	NVM_IO_SCRAMBLE_DISABLE	= 0x200,
+	NVM_IO_SCRAMBLE_ENABLE	= 0x200,
 
 	/* Block Types */
 	NVM_BLK_T_FREE		= 0x0,
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] lightnvm: submit erases using the I/O path "Javier González" <jg@lightnvm.io> - 2017-02-24 17:20 +0100
  [PATCH 2/3] lightnvm: rename scrambler controller hint "Javier González" <jg@lightnvm.io> - 2017-02-24 17:20 +0100
    Re: [PATCH 2/3] lightnvm: rename scrambler controller hint Matias Bjørling <mb@lightnvm.io> - 2017-02-24 18:10 +0100
  Re: [PATCH 1/3] lightnvm: submit erases using the I/O path Matias Bjørling <mb@lightnvm.io> - 2017-02-24 18:10 +0100

csiph-web