nvme: add a common helper to read Identify Controller data
authorChristoph Hellwig <hch@lst.de>
Sat, 28 Nov 2015 14:37:52 +0000 (15:37 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:39 +0000 (10:59 -0700)
commit7fd8930f26be4c9078684b2fef14da0503771bf2
treeab4847b46857510c32ae377f969c417856909309
parent5fd4ce1b005bd6ede913763f65efae9af6f7f386
nvme: add a common helper to read Identify Controller data

And add the 64-bit register read operation for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c