aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 9d6febb91521..a19304fefa7d 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -35,6 +35,8 @@ struct nvme_bar {
35 __u64 acq; /* Admin CQ Base Address */ 35 __u64 acq; /* Admin CQ Base Address */
36}; 36};
37 37
38#define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff)
39
38enum { 40enum {
39 NVME_CC_ENABLE = 1 << 0, 41 NVME_CC_ENABLE = 1 << 0,
40 NVME_CC_CSS_NVM = 0 << 4, 42 NVME_CC_CSS_NVM = 0 << 4,