diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-03-22 15:55:45 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:53:01 -0400 |
commit | 7f53f9d2424533256ae86f7df5661a17de743de8 (patch) | |
tree | 93dc08a0de9ac52dca9479dc6c36808f431c1988 /include | |
parent | 8ef700678f65e2eef1c3a94cdedb79d757608392 (diff) |
NVMe: Correct the Controller Configuration settings
The arbitration field was extended by one bit, shifting the shutdown
notification bits by one. Also, the SQ/CQ entry size was made
configurable for future extensions.
Reported-by: Paul Luse <paul.e.luse@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvme.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 347ad5f9a721..9d6febb91521 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h | |||
@@ -41,10 +41,12 @@ enum { | |||
41 | NVME_CC_MPS_SHIFT = 7, | 41 | NVME_CC_MPS_SHIFT = 7, |
42 | NVME_CC_ARB_RR = 0 << 11, | 42 | NVME_CC_ARB_RR = 0 << 11, |
43 | NVME_CC_ARB_WRRU = 1 << 11, | 43 | NVME_CC_ARB_WRRU = 1 << 11, |
44 | NVME_CC_ARB_VS = 3 << 11, | 44 | NVME_CC_ARB_VS = 7 << 11, |
45 | NVME_CC_SHN_NONE = 0 << 13, | 45 | NVME_CC_SHN_NONE = 0 << 14, |
46 | NVME_CC_SHN_NORMAL = 1 << 13, | 46 | NVME_CC_SHN_NORMAL = 1 << 14, |
47 | NVME_CC_SHN_ABRUPT = 2 << 13, | 47 | NVME_CC_SHN_ABRUPT = 2 << 14, |
48 | NVME_CC_IOSQES = 6 << 16, | ||
49 | NVME_CC_IOCQES = 4 << 20, | ||
48 | NVME_CSTS_RDY = 1 << 0, | 50 | NVME_CSTS_RDY = 1 << 0, |
49 | NVME_CSTS_CFS = 1 << 1, | 51 | NVME_CSTS_CFS = 1 << 1, |
50 | NVME_CSTS_SHST_NORMAL = 0 << 2, | 52 | NVME_CSTS_SHST_NORMAL = 0 << 2, |