mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 19:06:14 +00:00
scsi: hisi_sas: re-add the lldd_port_deformed()
In function sas_suspend_devices(), it requires callback lldd_port_deformed callback to be implemented if lldd_port_deformed is implemented. So add a stub for lldd_port_deformed. Callback lldd_port_deformed was not required as the port deformation is done elsewhere in the LLDD. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
9960a24a1c
commit
336bd78bda
1 changed files with 5 additions and 0 deletions
|
@ -1613,6 +1613,10 @@ static void hisi_sas_port_formed(struct asd_sas_phy *sas_phy)
|
||||||
hisi_sas_port_notify_formed(sas_phy);
|
hisi_sas_port_notify_formed(sas_phy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void hisi_sas_port_deformed(struct asd_sas_phy *sas_phy)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static void hisi_sas_phy_disconnected(struct hisi_sas_phy *phy)
|
static void hisi_sas_phy_disconnected(struct hisi_sas_phy *phy)
|
||||||
{
|
{
|
||||||
phy->phy_attached = 0;
|
phy->phy_attached = 0;
|
||||||
|
@ -1703,6 +1707,7 @@ static struct sas_domain_function_template hisi_sas_transport_ops = {
|
||||||
.lldd_query_task = hisi_sas_query_task,
|
.lldd_query_task = hisi_sas_query_task,
|
||||||
.lldd_clear_nexus_ha = hisi_sas_clear_nexus_ha,
|
.lldd_clear_nexus_ha = hisi_sas_clear_nexus_ha,
|
||||||
.lldd_port_formed = hisi_sas_port_formed,
|
.lldd_port_formed = hisi_sas_port_formed,
|
||||||
|
.lldd_port_deformed = hisi_sas_port_deformed,
|
||||||
};
|
};
|
||||||
|
|
||||||
void hisi_sas_init_mem(struct hisi_hba *hisi_hba)
|
void hisi_sas_init_mem(struct hisi_hba *hisi_hba)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue