]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: hisi_sas: add missing SATA pending device type to v2 hw
authorJohn Garry <john.garry@huawei.com>
Tue, 6 Sep 2016 15:36:24 +0000 (23:36 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Sep 2016 16:54:18 +0000 (12:54 -0400)
commit56cc74b9999ff0059007626ef8fab031033a166b
tree117b995f98d1013aa32e2ddc73424b11aa9a61e5
parent8583d3b5b09f08a5b970489cc34a268f500a4a3d
scsi: hisi_sas: add missing SATA pending device type to v2 hw

In setup_itct_v2_hw(), SATA device type SAS_SATA_PENDING is missing, so
add it.

Note: The HiSi SAS controller does not support SATA PM, so do not handle
SAS_SATA_PM_PORT or SAS_SATA_PM.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c