diff options
author | Duane Grigsby <duane.grigsby@qlogic.com> | 2009-12-16 00:29:47 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-30 12:09:50 -0500 |
commit | ca79cf664806d833e28c8c05824b2361f59b8bc8 (patch) | |
tree | bb2454813b9e4756dcb7196fb985d4ad95b66126 | |
parent | 858808019313f217d63ec4ad26686e6fb7b08c19 (diff) |
[SCSI] qla2xxx: Added to EEH support.
Added fundamental reset and pci save state.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 1ab358210c6a..209f50e788a1 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1817,6 +1817,13 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1817 | 1817 | ||
1818 | /* Set ISP-type information. */ | 1818 | /* Set ISP-type information. */ |
1819 | qla2x00_set_isp_flags(ha); | 1819 | qla2x00_set_isp_flags(ha); |
1820 | |||
1821 | /* Set EEH reset type to fundamental if required by hba */ | ||
1822 | if ( IS_QLA24XX(ha) || IS_QLA25XX(ha) || IS_QLA81XX(ha)) { | ||
1823 | pdev->needs_freset = 1; | ||
1824 | pci_save_state(pdev); | ||
1825 | } | ||
1826 | |||
1820 | /* Configure PCI I/O space */ | 1827 | /* Configure PCI I/O space */ |
1821 | ret = qla2x00_iospace_config(ha); | 1828 | ret = qla2x00_iospace_config(ha); |
1822 | if (ret) | 1829 | if (ret) |