nvme: move remaining CC setup into nvme_enable_ctrl
authorChristoph Hellwig <hch@lst.de>
Sat, 28 Nov 2015 14:01:09 +0000 (15:01 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:39 +0000 (10:59 -0700)
commit1b2eb374651f0496b86ed5f095d4c448bff214fa
tree5ab852af3f6fe903d5b35e877e293046afa0fdc1
parent106198edb74cdf3fe1aefa6ad1e199b58ab7c4cb
nvme: move remaining CC setup into nvme_enable_ctrl

Remove the calculation of all the bits written into the CC register into
nvme_enable_ctrl, so that they can be moved into the core NVMe driver in
the future.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c