diff options
author | Harish Zunjarrao <harish.zunjarrao@qlogic.com> | 2009-03-24 12:08:19 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:22:54 -0400 |
commit | 79c13a747dbb23815e4ea69d60e51c8df6ad4997 (patch) | |
tree | b37fadbd66bb61ae55d96521f4504838f8f0c14b /drivers/scsi | |
parent | b9b12f73dff15915914f51bbff7620f5dd49b3de (diff) |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_sup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c index 0664667c2e9d..152ecfc26cd2 100644 --- a/drivers/scsi/qla2xxx/qla_sup.c +++ b/drivers/scsi/qla2xxx/qla_sup.c | |||
@@ -612,8 +612,8 @@ qla2xxx_find_flt_start(scsi_qla_host_t *vha, uint32_t *start) | |||
612 | 612 | ||
613 | /* Good data. Use specified location. */ | 613 | /* Good data. Use specified location. */ |
614 | loc = locations[1]; | 614 | loc = locations[1]; |
615 | *start = le16_to_cpu(fltl->start_hi) << 16 | | 615 | *start = (le16_to_cpu(fltl->start_hi) << 16 | |
616 | le16_to_cpu(fltl->start_lo); | 616 | le16_to_cpu(fltl->start_lo)) >> 2; |
617 | end: | 617 | end: |
618 | DEBUG2(qla_printk(KERN_DEBUG, ha, "FLTL[%s] = 0x%x.\n", loc, *start)); | 618 | DEBUG2(qla_printk(KERN_DEBUG, ha, "FLTL[%s] = 0x%x.\n", loc, *start)); |
619 | return QLA_SUCCESS; | 619 | return QLA_SUCCESS; |