aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-03-09 17:27:29 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:39:36 -0500
commitfdbc6833c53a1c2ec2b122cd53e69e6136dcc774 (patch)
tree0c79c042504ac5c1ce44b74c16da2300ca24de7e /drivers/scsi/qla2xxx/qla_mbx.c
parent1328962eb4b00dd1cfd1ffb863b1612b08751768 (diff)
[SCSI] qla2xxx: Correct swing/emphasis settings on ISP24xx.
Reserved-bit 15 must set when updating the swing/emphasis values. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c6
1 files changed, 3 insertions, 3 deletions
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,
2406 2406
2407 mcp->mb[0] = MBC_SERDES_PARAMS; 2407 mcp->mb[0] = MBC_SERDES_PARAMS;
2408 mcp->mb[1] = BIT_0; 2408 mcp->mb[1] = BIT_0;
2409 mcp->mb[2] = sw_em_1g; 2409 mcp->mb[2] = sw_em_1g | BIT_15;
2410 mcp->mb[3] = sw_em_2g; 2410 mcp->mb[3] = sw_em_2g | BIT_15;
2411 mcp->mb[4] = sw_em_4g; 2411 mcp->mb[4] = sw_em_4g | BIT_15;
2412 mcp->out_mb = MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 2412 mcp->out_mb = MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
2413 mcp->in_mb = MBX_0; 2413 mcp->in_mb = MBX_0;
2414 mcp->tov = 30; 2414 mcp->tov = 30;