diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_iocb.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index ecaf9f83b2d4..5e079b5d9392 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
@@ -369,7 +369,7 @@ qla2x00_start_scsi(srb_t *sp) | |||
369 | } | 369 | } |
370 | 370 | ||
371 | /* Calculate the number of request entries needed. */ | 371 | /* Calculate the number of request entries needed. */ |
372 | req_cnt = (ha->calc_request_entries)(tot_dsds); | 372 | req_cnt = ha->isp_ops.calc_req_entries(tot_dsds); |
373 | if (ha->req_q_cnt < (req_cnt + 2)) { | 373 | if (ha->req_q_cnt < (req_cnt + 2)) { |
374 | cnt = RD_REG_WORD_RELAXED(ISP_REQ_Q_OUT(ha, reg)); | 374 | cnt = RD_REG_WORD_RELAXED(ISP_REQ_Q_OUT(ha, reg)); |
375 | if (ha->req_ring_index < cnt) | 375 | if (ha->req_ring_index < cnt) |
@@ -419,7 +419,7 @@ qla2x00_start_scsi(srb_t *sp) | |||
419 | cmd_pkt->byte_count = cpu_to_le32((uint32_t)cmd->request_bufflen); | 419 | cmd_pkt->byte_count = cpu_to_le32((uint32_t)cmd->request_bufflen); |
420 | 420 | ||
421 | /* Build IOCB segments */ | 421 | /* Build IOCB segments */ |
422 | (ha->build_scsi_iocbs)(sp, cmd_pkt, tot_dsds); | 422 | ha->isp_ops.build_iocbs(sp, cmd_pkt, tot_dsds); |
423 | 423 | ||
424 | /* Set total data segment count. */ | 424 | /* Set total data segment count. */ |
425 | cmd_pkt->entry_count = (uint8_t)req_cnt; | 425 | cmd_pkt->entry_count = (uint8_t)req_cnt; |