aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorArun Easi <arun.easi@qlogic.com>2013-01-30 03:34:39 -0500
committerJames Bottomley <JBottomley@Parallels.com>2013-02-22 06:32:12 -0500
commitaa230bc55c169b76a229ff3f927141edf02e7b3a (patch)
tree435851aacab7dbb6fbada11279a2dd30ca5724bd /drivers/scsi/qla2xxx/qla_os.c
parent3c290d0b5f8ff7b0fd2c964c5ec2c14191a9e790 (diff)
[SCSI] qla2xxx: Enable target mode support for ISP83xx.
Signed-off-by: Arun Easi <arun.easi@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index da86d3828c1d..e93408f8e7e1 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -1812,6 +1812,9 @@ qla83xx_iospace_config(struct qla_hw_data *ha)
1812 1812
1813mqiobase_exit: 1813mqiobase_exit:
1814 ha->msix_count = ha->max_rsp_queues + 1; 1814 ha->msix_count = ha->max_rsp_queues + 1;
1815
1816 qlt_83xx_iospace_config(ha);
1817
1815 ql_dbg_pci(ql_dbg_init, ha->pdev, 0x011f, 1818 ql_dbg_pci(ql_dbg_init, ha->pdev, 0x011f,
1816 "MSIX Count:%d.\n", ha->msix_count); 1819 "MSIX Count:%d.\n", ha->msix_count);
1817 return 0; 1820 return 0;
@@ -2390,6 +2393,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
2390 ha->mbx_count = MAILBOX_REGISTER_COUNT; 2393 ha->mbx_count = MAILBOX_REGISTER_COUNT;
2391 req_length = REQUEST_ENTRY_CNT_24XX; 2394 req_length = REQUEST_ENTRY_CNT_24XX;
2392 rsp_length = RESPONSE_ENTRY_CNT_2300; 2395 rsp_length = RESPONSE_ENTRY_CNT_2300;
2396 ha->tgt.atio_q_length = ATIO_ENTRY_CNT_24XX;
2393 ha->max_loop_id = SNS_LAST_LOOP_ID_2300; 2397 ha->max_loop_id = SNS_LAST_LOOP_ID_2300;
2394 ha->init_cb_size = sizeof(struct mid_init_cb_81xx); 2398 ha->init_cb_size = sizeof(struct mid_init_cb_81xx);
2395 ha->gid_list_info_size = 8; 2399 ha->gid_list_info_size = 8;