aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHighPoint Linux Team <linux@highpoint-tech.com>2006-11-24 04:36:33 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-24 04:36:33 +0100
commit2918372bc191a0953ad53825cc19e52a0dabcedb (patch)
tree515217226c07322ff6749395e92cad798c19c05f
parent7e5cdf9cd620f5b471661400a537ca56e1ded68d (diff)
downloadlinux-linaro-stable-2918372bc191a0953ad53825cc19e52a0dabcedb.tar.gz
[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: Adrian Bunk <bunk@stusta.de>
-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 f77808329e7c..609c10e12147 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);
}