projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
416780d
)
[SCSI] qla2xxx: Correct endianess problem while issuing a Marker IOCB on ISP24xx.
author
Shyam Sundar
<shyam.sundar@qlogic.com>
Tue, 1 Aug 2006 20:48:13 +0000
(13:48 -0700)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Sun, 6 Aug 2006 16:29:45 +0000
(11:29 -0500)
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_iocb.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_iocb.c
b/drivers/scsi/qla2xxx/qla_iocb.c
index 2b60a27eff0bfbcee3ab89385e4d462712391d20..c5b3c610a32a2968219ca29c8a572cc35b0ac605 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_iocb.c
+++ b/
drivers/scsi/qla2xxx/qla_iocb.c
@@
-471,6
+471,7
@@
__qla2x00_marker(scsi_qla_host_t *ha, uint16_t loop_id, uint16_t lun,
mrk24->nport_handle = cpu_to_le16(loop_id);
mrk24->lun[1] = LSB(lun);
mrk24->lun[2] = MSB(lun);
+ host_to_fcp_swap(mrk24->lun, sizeof(mrk24->lun));
} else {
SET_TARGET_ID(ha, mrk->target, loop_id);
mrk->lun = cpu_to_le16(lun);