summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-07 22:52:09 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-18 18:13:50 +0200
commit38e2f035587b0674b3168931c8402f4d719fdd76 (patch)
treed030fd469826a2a4329b2194f6f08d945cc5987e /drivers/scsi/libsas
parent[SCSI] libsas: Add SATA support to STP piece for SATA on SAS expanders (diff)
downloadlinux-38e2f035587b0674b3168931c8402f4d719fdd76.tar.xz
linux-38e2f035587b0674b3168931c8402f4d719fdd76.zip
[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: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/libsas')
-rw-r--r--drivers/scsi/libsas/sas_expander.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index 0c4e3a977915..07464873ab89 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -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);
}