commit | 0fa24c19d844945b6edf981ff425c93f20085f10 | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Wed Jun 14 23:33:18 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 19 21:31:25 2017 -0400 |
tree | a2510e31aedf7c1f3f0141c38b9bc7f5c5bf06d9 | |
parent | 11b752490a051b79de183fee73706e13d80d3998 [diff] |
scsi: hisi_sas: create hisi_sas_get_fw_info() Move the functionality to retrieve the fw info into a dedicated device type-agnostic function, hisi_sas_get_fw_info(). The reasoning is that this function will be required for future pci-based platforms. Also add some debug logs for failure. Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>