NVMe: Add nvme_setup_prps()
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Wed, 26 Jan 2011 15:02:29 +0000 (10:02 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:52 +0000 (15:52 -0400)
commitff22b54fda2078fc3cd1bcdcb7a5ce5d08fd6591
tree09c90d334daae2949bd58402e90f6d641f688bd7
parent7b4fe9b1cb4b9a6f4ae23a12ef96d08d96e2a5da
NVMe: Add nvme_setup_prps()

Generalise the code from nvme_identify() that sets PRP1 & PRP2 so that
it's usable for commands sent by nvme_submit_bio_queue().

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