]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] hptiop: wrong register used in hptiop_reset_hba()
authorHighPoint Linux Team <linux@highpoint-tech.com>
Fri, 24 Nov 2006 03:36:33 +0000 (04:36 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 24 Nov 2006 03:36:33 +0000 (04:36 +0100)
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>
drivers/scsi/hptiop.c

index f77808329e7cb8937913bb725ef4d0b402e8d9c0..609c10e1214756db7e035c0112291b27617a36bf 100644 (file)
@@ -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);
        }