summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2012-10-01 19:27:20 -0700
committerJames Bottomley <JBottomley@Parallels.com>2012-10-09 11:19:48 +0100
commit8ead581609281720cf7388f989eb6570ff4e5551 (patch)
treef1bc0c14146735be2afda553d3bdbf0631efbde5 /drivers
parente187df63991b1b50af0fd3cf8ceaf9aa77c20f4a (diff)
downloadlinux-stable-8ead581609281720cf7388f989eb6570ff4e5551.tar.gz
linux-stable-8ead581609281720cf7388f989eb6570ff4e5551.tar.bz2
linux-stable-8ead581609281720cf7388f989eb6570ff4e5551.zip
[SCSI] megaraid_sas: Add SystemPD FastPath support
Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_fusion.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index ad6e2ac196b0..93ebcac44e04 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -1524,6 +1524,8 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
cmd->request_desc->SCSIIO.RequestFlags =
(MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY <<
MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT);
+ cmd->request_desc->SCSIIO.DevHandle =
+ local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;
} else {
io_request->Function = MEGASAS_MPI2_FUNCTION_LD_IO_REQUEST;
io_request->DevHandle = device_id;