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

Commit 6dbdda4d authored by Giridhar Malavali's avatar Giridhar Malavali Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Pass first 64 bytes of MBX information when vendor commands fail.

parent c9afb9a2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -3825,8 +3825,6 @@ qla2x00_loopback_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq,

	/* Copy mailbox information */
	memcpy( mresp, mcp->mb, 64);
	mresp[3] = mcp->mb[18];
	mresp[4] = mcp->mb[19];
	return rval;
}

@@ -3887,9 +3885,10 @@ qla2x00_echo_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq,
	}

	/* Copy mailbox information */
	memcpy( mresp, mcp->mb, 32);
	memcpy(mresp, mcp->mb, 64);
	return rval;
}

int
qla84xx_reset_chip(scsi_qla_host_t *ha, uint16_t enable_diagnostic)
{