From: andrew.vasquez@qlogic.com Date: Thu, 9 Mar 2006 22:27:29 +0000 (-0800) Subject: [SCSI] qla2xxx: Correct swing/emphasis settings on ISP24xx. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fdbc6833c53a1c2ec2b122cd53e69e6136dcc774;p=linux-beck.git [SCSI] qla2xxx: Correct swing/emphasis settings on ISP24xx. Reserved-bit 15 must set when updating the swing/emphasis values. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 267435f17482..85c83e0027ff 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -2406,9 +2406,9 @@ qla2x00_set_serdes_params(scsi_qla_host_t *ha, uint16_t sw_em_1g, mcp->mb[0] = MBC_SERDES_PARAMS; mcp->mb[1] = BIT_0; - mcp->mb[2] = sw_em_1g; - mcp->mb[3] = sw_em_2g; - mcp->mb[4] = sw_em_4g; + mcp->mb[2] = sw_em_1g | BIT_15; + mcp->mb[3] = sw_em_2g | BIT_15; + mcp->mb[4] = sw_em_4g | BIT_15; mcp->out_mb = MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; mcp->in_mb = MBX_0; mcp->tov = 30;