Skip to content

Commit

Permalink
[SCSI] mptfusion: Set fw_events_off to 1 at driver load time.
Browse files Browse the repository at this point in the history
fw_events_off is flag checking for driver to do Event handling or not.
Normally it should be OFF at the time of initialization. Only enable it at
the time of INTR enable of device first time. This will always occur only
after resource allocation.

ioc->fw_events_off = 1 is set in mpt_attach()

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Kashyap, Desai authored and James Bottomley committed Jul 27, 2010
1 parent d4572c3 commit 8ce13de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/message/fusion/mptbase.c
Original file line number Diff line number Diff line change
Expand Up @@ -1913,6 +1913,9 @@ mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id)
ioc->msi_enable = 0;
break;
}

ioc->fw_events_off = 1;

if (ioc->errata_flag_1064)
pci_disable_io_access(pdev);

Expand Down

0 comments on commit 8ce13de

Please sign in to comment.