summaryrefslogtreecommitdiff
path: root/drivers/scsi/hptiop.c
diff options
context:
space:
mode:
authorHighPoint Linux Team <linux@highpoint-tech.com>2006-07-24 15:48:54 +0800
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-07-28 11:47:02 -0500
commit8d4fbd3f978ba49498dc7c6430368c4ff86a09fc (patch)
treeb581ea0d3dae4c2926219e339f4cc45b9e94e829 /drivers/scsi/hptiop.c
parentb2b3c121076961333977f485f0d54c22121df920 (diff)
[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 <linux@highpoint-tech.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/hptiop.c')
-rw-r--r--drivers/scsi/hptiop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index ab2f8b267908..74d4d22e5c05 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);
}