Commit 8ff1d571 authored by John Garry's avatar John Garry Committed by Martin K. Petersen

hisi_sas: Add v1 hardware initialisation code

Signed-off-by: default avatarJohn Garry <>
Reviewed-by: default avatarArnd Bergmann <>
Reviewed-by: default avatarHannes Reinecke <>
Signed-off-by: default avatarMartin K. Petersen <>
parent 50af155b
......@@ -81,6 +81,7 @@ struct hisi_sas_slot {
struct hisi_sas_hw {
int (*hw_init)(struct hisi_hba *hisi_hba);
int complete_hdr_size;
......@@ -402,6 +402,10 @@ int hisi_sas_probe(struct platform_device *pdev,
rc = hisi_hba->hw->hw_init(hisi_hba);
if (rc)
goto err_out_ha;
rc = scsi_add_host(shost, &pdev->dev);
if (rc)
goto err_out_ha;
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment