scsi: hisi_sas: modify hisi_sas_dev_gone() for reset
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 8 Dec 2017 17:16:37 +0000 (01:16 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Dec 2017 02:25:02 +0000 (21:25 -0500)
commitf8e45ec226e2c00c1da9cf156ea59a159e9b4ea6
tree35d4eed2c9bbcd83ee6455673d12ed279feb88e6
parentfb51e7a8d38484687337f16636c5be9528e00fed
scsi: hisi_sas: modify hisi_sas_dev_gone() for reset

Do a couple of changes for when HISI_SAS_RESET_BIT is set for HBA:

 - Clearing ITCT is not necessary

 - Remove internal abort as it will fail during reset

Flag sas_dev->dev_type is kept as SAS_PHY_UNUSED.

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>
drivers/scsi/hisi_sas/hisi_sas_main.c