diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-06-17 05:05:46 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:02:27 -0400 |
commit | 8ce13de2ad0df5239340e885e5513d9ad98439e0 (patch) | |
tree | 7a3c3cecd838198fb5a74a9149ea5369c2b7004a /drivers/message | |
parent | d4572c3dbb00fa47b9e8cd496f12a8ec9e9b66c3 (diff) |
[SCSI] mptfusion: Set fw_events_off to 1 at driver load time.
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>
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index a6a57011ba6c..49005e151058 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -1913,6 +1913,9 @@ mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1913 | ioc->msi_enable = 0; | 1913 | ioc->msi_enable = 0; |
1914 | break; | 1914 | break; |
1915 | } | 1915 | } |
1916 | |||
1917 | ioc->fw_events_off = 1; | ||
1918 | |||
1916 | if (ioc->errata_flag_1064) | 1919 | if (ioc->errata_flag_1064) |
1917 | pci_disable_io_access(pdev); | 1920 | pci_disable_io_access(pdev); |
1918 | 1921 | ||