Commit 8d4fbd3f authored by HighPoint Linux Team's avatar HighPoint Linux Team Committed by James Bottomley

[SCSI] hptiop: wrong register used in hptiop_reset_hba()

IOP reset message should be posted to inbound message register
instead of outbound message register.
Signed-off-by: default avatarHighPoint Linux Team <linux@highpoint-tech.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent b2b3c121
...@@ -577,7 +577,7 @@ static int hptiop_reset_hba(struct hptiop_hba *hba) ...@@ -577,7 +577,7 @@ static int hptiop_reset_hba(struct hptiop_hba *hba)
if (atomic_xchg(&hba->resetting, 1) == 0) { if (atomic_xchg(&hba->resetting, 1) == 0) {
atomic_inc(&hba->reset_count); atomic_inc(&hba->reset_count);
writel(IOPMU_INBOUND_MSG0_RESET, writel(IOPMU_INBOUND_MSG0_RESET,
&hba->iop->outbound_msgaddr0); &hba->iop->inbound_msgaddr0);
hptiop_pci_posting_flush(hba->iop); hptiop_pci_posting_flush(hba->iop);
} }
......
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