]> git.baikalelectronics.ru Git - kernel.git/commit
hisi_sas: add v2 hw support for >4 SATA phys
authorJohn Garry <john.garry@huawei.com>
Fri, 8 Apr 2016 09:23:13 +0000 (17:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Apr 2016 20:53:16 +0000 (16:53 -0400)
commit1d8c93af6eee7171ca81c23ab554659253b37d94
treec222202b70445235e6f61a0640ec2d10c6ad161c
parente9ab6b2d4ce6dbfae0b3634598b462a348094c85
hisi_sas: add v2 hw support for >4 SATA phys

This patch adds support for directly attaching SATA disks to phy
4-8. The problem was that only registers concerned with phy 0-3 were
being considered in sata_int_v2_hw().  The issue was not detected
previously as the development board only exposed phy 0-3; the new board
provides access to 8 phys.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c