Skip to content

Commit

Permalink
[SCSI] qla2xxx: Don't modify parity bits during ISP25XX restart.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Andrew Vasquez authored and James Bottomley committed Aug 15, 2007
1 parent 29856e2 commit 8fef696
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -3354,7 +3354,8 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)

spin_lock_irqsave(&ha->hardware_lock, flags);

if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) {
if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha) &&
!IS_QLA25XX(ha)) {
/*
* Disable SRAM, Instruction RAM and GP RAM
* parity.
Expand All @@ -3370,7 +3371,8 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)

spin_lock_irqsave(&ha->hardware_lock, flags);

if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) {
if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha) &&
!IS_QLA25XX(ha)) {
/* Enable proper parity */
if (IS_QLA2300(ha))
/* SRAM parity */
Expand Down

0 comments on commit 8fef696

Please sign in to comment.