scsi: hisi_sas: add skeleton v3 hw driver
authorJohn Garry <john.garry@huawei.com>
Wed, 14 Jun 2017 15:33:19 +0000 (23:33 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Jun 2017 01:31:25 +0000 (21:31 -0400)
commit92f61e3bc24a0d42c9ede86ff6f211ef07022dd7
treebee84683accf6fd8843cf5ea1d9af08a33559bdf
parent0fa24c19d844945b6edf981ff425c93f20085f10
scsi: hisi_sas: add skeleton v3 hw driver

Add skeleton driver for v3 hw in hisi_sas_v3_hw.c

File hisi_sas_v3_hw.c will serve 2 purposes:
- probing and initialisation of the controller based on pci device
- hw layer for v3-based controllers

The controller design is quite similar to v2 hw in hip07.

However key differences include:
-All v2 hw bugs are fixed (hopefully), so workarounds are not required
-support for device deregistration
-some interrupt modifications
-configurable max device support

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/Kconfig
drivers/scsi/hisi_sas/Makefile
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c [new file with mode: 0644]