提交 08d00f46 编写于 作者: J Jason Yan 提交者: Xie XiuQi

scsi: libsas: do not clear phy_state and attached_dev_type

euler inclusion
category: bugfix
bugzilla: 5457
CVE: NA

When we check the sata pathway to the root phy, we need to know if the
expander phy has sata device attached. So that we can have the chance to
set the min linkrate for the sata device.
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 a1383a59
......@@ -1113,8 +1113,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id)
* will not treat the phy as flutter in the next
* revalidation
*/
ex_phy->phy_state = PHY_VACANT;
ex_phy->attached_dev_type = SAS_PHY_UNUSED;
memset(ex_phy->attached_sas_addr, 0, SAS_ADDR_SIZE);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册