diff options
author | Duane Grigsby <duane.grigsby@qlogic.com> | 2009-12-16 06:29:47 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-30 18:09:50 +0100 |
commit | ca79cf664806d833e28c8c05824b2361f59b8bc8 (patch) | |
tree | bb2454813b9e4756dcb7196fb985d4ad95b66126 /drivers | |
parent | [SCSI] qla2xxx: Extend base EEH support in qla2xxx. (diff) | |
download | linux-ca79cf664806d833e28c8c05824b2361f59b8bc8.tar.xz linux-ca79cf664806d833e28c8c05824b2361f59b8bc8.zip |
[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>
Diffstat (limited to 'drivers')
-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) /* Set ISP-type information. */ qla2x00_set_isp_flags(ha); + + /* Set EEH reset type to fundamental if required by hba */ + if ( IS_QLA24XX(ha) || IS_QLA25XX(ha) || IS_QLA81XX(ha)) { + pdev->needs_freset = 1; + pci_save_state(pdev); + } + /* Configure PCI I/O space */ ret = qla2x00_iospace_config(ha); if (ret) |