linux_dsm_epyc7002/drivers/scsi/hisi_sas
John Garry 405314df56 scsi: hisi_sas: remove hisi_sas_port_deformed()
Currently when a root PHY is deformed from a asd_sas_port we try to
release the slots in the LLDD, and fail.

Regardless, it is not right to release this early.

This patch removes the deformed function. As it was before, port
deformation is still done in hisi_sas_phy_down().

It would be nice to actually remove the hisi_sas_port_{de}formed() pair,
however we cannot as we need to know the asd_sas_port index libsas has
associated with an asd_sas_phy.

The hw does actually generate a port id for a PHY, but this seems to a
random number, so ignored for this purpose.

This patch also changes the code to link slots to the hisi_sas_device,
and not hisi_sas_port.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-03-23 11:12:01 -04:00
..
hisi_sas_main.c scsi: hisi_sas: remove hisi_sas_port_deformed() 2017-03-23 11:12:01 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: remove hisi_sas_port_deformed() 2017-03-23 11:12:01 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: remove hisi_sas_port_deformed() 2017-03-23 11:12:01 -04:00
hisi_sas.h scsi: hisi_sas: remove hisi_sas_port_deformed() 2017-03-23 11:12:01 -04:00
Kconfig scsi: hisi_sas: add softreset function for SATA disk 2017-03-23 11:12:01 -04:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00