Commit 38e2f035 authored by James Bottomley's avatar James Bottomley Committed by 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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment