[SCSI] libsas: fix up sas_smp_phy_control()
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 7 Sep 2006 20:52:09 +0000 (15:52 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:13:50 +0000 (11:13 -0500)
The prototype of this has changed for the link speed setting patch.
Need to update the SATA use of this.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_expander.c

index 0c4e3a977915ec125e09b03524e23518505f7577..07464873ab89c0b01de02a8ee5024a40c7b16d93 100644 (file)
@@ -242,7 +242,7 @@ static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req,
                        break;
                /* In order to generate the dev to host FIS, we
                 * 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 */
                msleep(500);
        }