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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8d4fbd3f978ba49498dc7c6430368c4ff86a09fc;p=linux-beck.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 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); }