提交 432b4c8b 编写于 作者: M Moore, Eric 提交者: James Bottomley

[SCSI] fusion: mptsas, increase discovery timout to 300 seconds

Increase the port enable timeout only for SAS from 30 to 300 seconds.
A customer request for the handling large topologies.
Signed-off-by: NEric Moore <Eric.Moore@lsil.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 d8e925dc
...@@ -2770,13 +2770,16 @@ SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag) ...@@ -2770,13 +2770,16 @@ SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag)
/* RAID FW may take a long time to enable /* RAID FW may take a long time to enable
*/ */
if ( (ioc->facts.ProductID & MPI_FW_HEADER_PID_PROD_MASK) if (((ioc->facts.ProductID & MPI_FW_HEADER_PID_PROD_MASK)
> MPI_FW_HEADER_PID_PROD_TARGET_SCSI ) { > MPI_FW_HEADER_PID_PROD_TARGET_SCSI) ||
rc = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&port_enable, (ioc->bus_type == SAS)) {
reply_sz, (u16*)&reply_buf, 300 /*seconds*/, sleepFlag); rc = mpt_handshake_req_reply_wait(ioc, req_sz,
(u32*)&port_enable, reply_sz, (u16*)&reply_buf,
300 /*seconds*/, sleepFlag);
} else { } else {
rc = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&port_enable, rc = mpt_handshake_req_reply_wait(ioc, req_sz,
reply_sz, (u16*)&reply_buf, 30 /*seconds*/, sleepFlag); (u32*)&port_enable, reply_sz, (u16*)&reply_buf,
30 /*seconds*/, sleepFlag);
} }
return rc; return rc;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册