aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-08-12 21:22:53 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-08-15 14:02:36 -0400
commit8fef696b00b863c8c898293bd09be581b934849b (patch)
tree570bbab537e4f90f0eb95a7833ab6afbb509feaa /drivers/scsi
parent29856e2841ebc6dadff0db1032be14e467989452 (diff)
[SCSI] qla2xxx: Don't modify parity bits during ISP25XX restart.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 374abe19b547..8da0586e9dfd 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -3354,7 +3354,8 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)
3354 3354
3355 spin_lock_irqsave(&ha->hardware_lock, flags); 3355 spin_lock_irqsave(&ha->hardware_lock, flags);
3356 3356
3357 if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) { 3357 if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha) &&
3358 !IS_QLA25XX(ha)) {
3358 /* 3359 /*
3359 * Disable SRAM, Instruction RAM and GP RAM 3360 * Disable SRAM, Instruction RAM and GP RAM
3360 * parity. 3361 * parity.
@@ -3370,7 +3371,8 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)
3370 3371
3371 spin_lock_irqsave(&ha->hardware_lock, flags); 3372 spin_lock_irqsave(&ha->hardware_lock, flags);
3372 3373
3373 if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) { 3374 if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha) &&
3375 !IS_QLA25XX(ha)) {
3374 /* Enable proper parity */ 3376 /* Enable proper parity */
3375 if (IS_QLA2300(ha)) 3377 if (IS_QLA2300(ha))
3376 /* SRAM parity */ 3378 /* SRAM parity */