Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca79cf66 authored by Duane Grigsby's avatar Duane Grigsby Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Added to EEH support.



Added fundamental reset and pci save state.

Signed-off-by: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 85880801
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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)