scsi: megaraid_sas: Big endian RDPQ mode fix
Fix if RDPQ mode enabled MR FW is deployed on big endian host machine, driver does not setup reply address correctly. Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
d2d0358bcd
commit
ff96f92517
|
@ -580,7 +580,7 @@ megasas_alloc_rdpq_fusion(struct megasas_instance *instance)
|
|||
}
|
||||
|
||||
fusion->rdpq_virt[i].RDPQBaseAddress =
|
||||
fusion->reply_frames_desc_phys[i];
|
||||
cpu_to_le64(fusion->reply_frames_desc_phys[i]);
|
||||
|
||||
reply_desc = fusion->reply_frames_desc[i];
|
||||
for (j = 0; j < fusion->reply_q_depth; j++, reply_desc++)
|
||||
|
|
Loading…
Reference in New Issue