Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fef696b authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Don't modify parity bits during ISP25XX restart.

parent 29856e28
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -3354,7 +3354,8 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)


			spin_lock_irqsave(&ha->hardware_lock, flags);
			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
				 * Disable SRAM, Instruction RAM and GP RAM
				 * parity.
				 * parity.
@@ -3370,7 +3371,8 @@ qla2x00_restart_isp(scsi_qla_host_t *ha)


			spin_lock_irqsave(&ha->hardware_lock, flags);
			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 */
				/* Enable proper parity */
				if (IS_QLA2300(ha))
				if (IS_QLA2300(ha))
					/* SRAM parity */
					/* SRAM parity */