[SCSI] qla2xxx: Get FLT address in dword format.
FLTDS provides FLT address in the byte address format, convert it to dword address for further use. Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
b9b12f73df
commit
79c13a747d
|
@ -612,8 +612,8 @@ qla2xxx_find_flt_start(scsi_qla_host_t *vha, uint32_t *start)
|
||||||
|
|
||||||
/* Good data. Use specified location. */
|
/* Good data. Use specified location. */
|
||||||
loc = locations[1];
|
loc = locations[1];
|
||||||
*start = le16_to_cpu(fltl->start_hi) << 16 |
|
*start = (le16_to_cpu(fltl->start_hi) << 16 |
|
||||||
le16_to_cpu(fltl->start_lo);
|
le16_to_cpu(fltl->start_lo)) >> 2;
|
||||||
end:
|
end:
|
||||||
DEBUG2(qla_printk(KERN_DEBUG, ha, "FLTL[%s] = 0x%x.\n", loc, *start));
|
DEBUG2(qla_printk(KERN_DEBUG, ha, "FLTL[%s] = 0x%x.\n", loc, *start));
|
||||||
return QLA_SUCCESS;
|
return QLA_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue