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: v2.6.18-rc5~57^2~40 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8d4fbd3f978ba49498dc7c6430368c4ff86a09fc;p=~emulex%2Finfiniband.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 ab2f8b26790..74d4d22e5c0 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); }