]> 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)
commit73411a5d0143d27c13ec1f943ee0ced1f4fe24b1
treec222202b70445235e6f61a0640ec2d10c6ad161c
parentf26b652d375d52c734a92e15720c66c3400b2ec1
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