From: Joe Carnuccio Date: Wed, 22 Aug 2012 18:21:20 +0000 (-0400) Subject: [SCSI] qla2xxx: Do PCI fundamental reset for ISP83xx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9567611215ed503985da9558dbc38b0034f318fd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [SCSI] qla2xxx: Do PCI fundamental reset for ISP83xx On ISP83xx cards perform a fundamental reset instead of hot reset. Signed-off-by: Joe Carnuccio Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 53ea9043c7ef..10362d3aaa30 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -2209,7 +2209,8 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) 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)) + if (IS_QLA24XX(ha) || IS_QLA25XX(ha) || IS_QLA81XX(ha) || + IS_QLA83XX(ha)) pdev->needs_freset = 1; ha->prev_topology = 0;