NVMe: Disable the device before we write the admin queues
authorShane Michael Matthews <shane.matthews@intel.com>
Tue, 1 Feb 2011 16:31:55 +0000 (11:31 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:54 +0000 (15:52 -0400)
commit5911f20039ce59d7e7834f0c42151cf759b6f786
tree49dd439d64f4c5936ae72d5d1d3f3984ec69b118
parent574e8b95bc3780e10e9b5e9d51074d503dd3d5d9
NVMe: Disable the device before we write the admin queues

In case the card has been left in a partially-configured state,
write 0 to the Enable bit.

Signed-off-by: Shane Michael Matthews <shane.matthews@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c