aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-03-09 17:27:13 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:38:03 -0500
commit044cc6c8ec311c4ddeebfcc31c53dea282de70b7 (patch)
tree891078bdbf9c8673d2408215c80551dc4a015f6d /drivers/scsi/qla2xxx/qla_init.c
parentea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 (diff)
[SCSI] qla2xxx: Add ISP54xx support.
Chip is similar in form to our ISP24xx offering. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index f49eb06d0dbd..e6a2292a2892 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -387,7 +387,7 @@ qla2x00_isp_firmware(scsi_qla_host_t *ha)
387 387
388 /* Verify checksum of loaded RISC code. */ 388 /* Verify checksum of loaded RISC code. */
389 rval = qla2x00_verify_checksum(ha, 389 rval = qla2x00_verify_checksum(ha,
390 IS_QLA24XX(ha) || IS_QLA25XX(ha) ? RISC_SADDRESS : 390 IS_QLA24XX(ha) || IS_QLA54XX(ha) ? RISC_SADDRESS :
391 *ha->brd_info->fw_info[0].fwstart); 391 *ha->brd_info->fw_info[0].fwstart);
392 } 392 }
393 393
@@ -822,7 +822,7 @@ qla2x00_resize_request_q(scsi_qla_host_t *ha)
822 if (IS_QLA2100(ha) || IS_QLA2200(ha)) 822 if (IS_QLA2100(ha) || IS_QLA2200(ha))
823 return; 823 return;
824 824
825 if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) 825 if (IS_QLA24XX(ha) || IS_QLA54XX(ha))
826 qla2x00_alloc_fw_dump(ha); 826 qla2x00_alloc_fw_dump(ha);
827 827
828 /* Retrieve IOCB counts available to the firmware. */ 828 /* Retrieve IOCB counts available to the firmware. */
@@ -2123,7 +2123,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *ha)
2123 LIST_HEAD(new_fcports); 2123 LIST_HEAD(new_fcports);
2124 2124
2125 /* If FL port exists, then SNS is present */ 2125 /* If FL port exists, then SNS is present */
2126 if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) 2126 if (IS_QLA24XX(ha) || IS_QLA54XX(ha))
2127 loop_id = NPH_F_PORT; 2127 loop_id = NPH_F_PORT;
2128 else 2128 else
2129 loop_id = SNS_FL_PORT; 2129 loop_id = SNS_FL_PORT;
@@ -2149,7 +2149,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *ha)
2149 qla2x00_fdmi_register(ha); 2149 qla2x00_fdmi_register(ha);
2150 2150
2151 /* Ensure we are logged into the SNS. */ 2151 /* Ensure we are logged into the SNS. */
2152 if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) 2152 if (IS_QLA24XX(ha) || IS_QLA54XX(ha))
2153 loop_id = NPH_SNS; 2153 loop_id = NPH_SNS;
2154 else 2154 else
2155 loop_id = SIMPLE_NAME_SERVER; 2155 loop_id = SIMPLE_NAME_SERVER;
@@ -2640,7 +2640,7 @@ qla2x00_device_resync(scsi_qla_host_t *ha)
2640 if (ql2xprocessrscn && 2640 if (ql2xprocessrscn &&
2641 !IS_QLA2100(ha) && !IS_QLA2200(ha) && 2641 !IS_QLA2100(ha) && !IS_QLA2200(ha) &&
2642 !IS_QLA6312(ha) && !IS_QLA6322(ha) && 2642 !IS_QLA6312(ha) && !IS_QLA6322(ha) &&
2643 !IS_QLA24XX(ha) && !IS_QLA25XX(ha) && 2643 !IS_QLA24XX(ha) && !IS_QLA54XX(ha) &&
2644 ha->flags.init_done) { 2644 ha->flags.init_done) {
2645 /* Handle port RSCN via asyncronous IOCBs */ 2645 /* Handle port RSCN via asyncronous IOCBs */
2646 rval2 = qla2x00_handle_port_rscn(ha, rscn_entry, 2646 rval2 = qla2x00_handle_port_rscn(ha, rscn_entry,
@@ -3130,7 +3130,7 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)
3130 3130
3131 spin_lock_irqsave(&ha->hardware_lock, flags); 3131 spin_lock_irqsave(&ha->hardware_lock, flags);
3132 3132
3133 if (!IS_QLA24XX(ha) && !IS_QLA25XX(ha)) { 3133 if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) {
3134 /* 3134 /*
3135 * Disable SRAM, Instruction RAM and GP RAM 3135 * Disable SRAM, Instruction RAM and GP RAM
3136 * parity. 3136 * parity.
@@ -3146,7 +3146,7 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)
3146 3146
3147 spin_lock_irqsave(&ha->hardware_lock, flags); 3147 spin_lock_irqsave(&ha->hardware_lock, flags);
3148 3148
3149 if (!IS_QLA24XX(ha) && !IS_QLA25XX(ha)) { 3149 if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) {
3150 /* Enable proper parity */ 3150 /* Enable proper parity */
3151 if (IS_QLA2300(ha)) 3151 if (IS_QLA2300(ha))
3152 /* SRAM parity */ 3152 /* SRAM parity */