]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
scsi: hisi_sas: add is_sata_phy_v2_hw()
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 22 Mar 2017 17:25:39 +0000 (01:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 15:12:02 +0000 (11:12 -0400)
commit4935933e07daaf829692fa54abe0c2ad9ac94ed9
treea515b7caaa1ffe6672b1880b72146636b7c3c145
parent6073b7719a63b42f0272917b4b2b552f5002f53d
scsi: hisi_sas: add is_sata_phy_v2_hw()

Add helper function is_sata_phy_v2_hw() to judge whether the attached
device is SATA disk for a root PHY.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.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_v2_hw.c