aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/libsas/sas_expander.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index 14e3244c1b20..05acd9e35fc4 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -251,6 +251,8 @@ static void sas_set_ex_phy(struct domain_device *dev, int phy_id, void *rsp)
251 phy->phy->identify.device_type = dr->attached_dev_type; 251 phy->phy->identify.device_type = dr->attached_dev_type;
252 phy->phy->identify.initiator_port_protocols = phy->attached_iproto; 252 phy->phy->identify.initiator_port_protocols = phy->attached_iproto;
253 phy->phy->identify.target_port_protocols = phy->attached_tproto; 253 phy->phy->identify.target_port_protocols = phy->attached_tproto;
254 if (!phy->attached_tproto && dr->attached_sata_dev)
255 phy->phy->identify.target_port_protocols = SAS_PROTOCOL_SATA;
254 phy->phy->identify.phy_identifier = phy_id; 256 phy->phy->identify.phy_identifier = phy_id;
255 phy->phy->minimum_linkrate_hw = dr->hmin_linkrate; 257 phy->phy->minimum_linkrate_hw = dr->hmin_linkrate;
256 phy->phy->maximum_linkrate_hw = dr->hmax_linkrate; 258 phy->phy->maximum_linkrate_hw = dr->hmax_linkrate;