summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMax Gurtovoy2017-08-13 18:21:07 +0200
committerSagi Grimberg2017-08-28 22:00:39 +0200
commit60b43f627a71aaf233ef5af90f72e207c29781b4 (patch)
treeb495ac0df0c0eeabf3b9c1f045f6178fdde08dfa /drivers/nvme
parentnvme: add symbolic constants for CC identifiers (diff)
downloadkernel-qcow2-linux-60b43f627a71aaf233ef5af90f72e207c29781b4.tar.gz
kernel-qcow2-linux-60b43f627a71aaf233ef5af90f72e207c29781b4.tar.xz
kernel-qcow2-linux-60b43f627a71aaf233ef5af90f72e207c29781b4.zip
nvme: rename AMS symbolic constants to fit specification
Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index b2daeafbeadd..1db8de0bee87 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -1445,7 +1445,7 @@ int nvme_enable_ctrl(struct nvme_ctrl *ctrl, u64 cap)
ctrl->ctrl_config = NVME_CC_CSS_NVM;
ctrl->ctrl_config |= (page_shift - 12) << NVME_CC_MPS_SHIFT;
- ctrl->ctrl_config |= NVME_CC_ARB_RR | NVME_CC_SHN_NONE;
+ ctrl->ctrl_config |= NVME_CC_AMS_RR | NVME_CC_SHN_NONE;
ctrl->ctrl_config |= NVME_CC_IOSQES | NVME_CC_IOCQES;
ctrl->ctrl_config |= NVME_CC_ENABLE;