On Thu, 26 Jan 2006, Tore Anderson wrote: > Hi. I've had large problems making a setup where I'm using a QLE2462 > card in order to connect to an EMC CLARiiON AX100. Port 1 of the HBA > is connected to Storage Processor A ("SPA") of the AX100, while port 2 > is connected to SPB. Please try the attached patch -- not sure how this was missed as it's been in my patch-queue for some time. Thanks, Andrew Vasquez --- diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 7ec0b8d..6544b6d 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -814,6 +814,7 @@ qla24xx_start_scsi(srb_t *sp) cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; int_to_scsilun(sp->cmd->device->lun, &cmd_pkt->lun); + host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); /* Load SCSI command packet. */ memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html