提交 38e2f035 编写于 作者: J James Bottomley 提交者: James Bottomley

[SCSI] libsas: fix up sas_smp_phy_control()

The prototype of this has changed for the link speed setting patch.
Need to update the SATA use of this.
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 1acce194
...@@ -242,7 +242,7 @@ static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, ...@@ -242,7 +242,7 @@ static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req,
break; break;
/* In order to generate the dev to host FIS, we /* In order to generate the dev to host FIS, we
* send a link reset to the expander port */ * send a link reset to the expander port */
sas_smp_phy_control(dev, single, PHY_FUNC_LINK_RESET); sas_smp_phy_control(dev, single, PHY_FUNC_LINK_RESET, NULL);
/* Wait for the reset to trigger the negotiation */ /* Wait for the reset to trigger the negotiation */
msleep(500); msleep(500);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册