hisi_sas: add hisi_sas_err_record_v1
authorJohn Garry <john.garry@huawei.com>
Mon, 25 Jan 2016 18:47:05 +0000 (02:47 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit8d1eee7d3f7ac3c17f8688a479c3364016504db5
tree80465e9e59645d149c1b080c83798b6c5794fae3
parent5560e9fb2ed56664656c0a5ab9cf0c6768be12d8
hisi_sas: add hisi_sas_err_record_v1

Since the error record structure is different for v2 hw, make
hisi_sas_err_record opaque and add hisi_sas_err_record_v1.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c