From: HighPoint Linux Team Date: Mon, 24 Jul 2006 07:48:54 +0000 (+0800) Subject: [SCSI] hptiop: wrong register used in hptiop_reset_hba() X-Git-Tag: upstream/snapshot3+hdmi~38538^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d4fbd3f978ba49498dc7c6430368c4ff86a09fc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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: HighPoint Linux Team Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c index ab2f8b2..74d4d22 100644 --- a/drivers/scsi/hptiop.c +++ b/drivers/scsi/hptiop.c @@ -577,7 +577,7 @@ static int hptiop_reset_hba(struct hptiop_hba *hba) if (atomic_xchg(&hba->resetting, 1) == 0) { atomic_inc(&hba->reset_count); writel(IOPMU_INBOUND_MSG0_RESET, - &hba->iop->outbound_msgaddr0); + &hba->iop->inbound_msgaddr0); hptiop_pci_posting_flush(hba->iop); }