aacraid: Fundamental reset support for Series 7
authorRaghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
Wed, 3 Feb 2016 23:06:04 +0000 (15:06 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
Series 7 does not support PCI hot reset used by EEH.

Enabled fundamental reset only for Series 7

Signed-off-by: Raghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/linit.c

index 511722041c83257be9d1f20ead8cecb0db7939e1..48e2a7979a5cef0c10b4d46dda84516785582ad9 100644 (file)
@@ -1135,6 +1135,12 @@ static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
        u64 dmamask;
        extern int aac_sync_mode;
 
+       /*
+        * Only series 7 needs freset.
+        */
+        if (pdev->device == PMC_DEVICE_S7)
+               pdev->needs_freset = 1;
+
        list_for_each_entry(aac, &aac_devices, entry) {
                if (aac->id > unique_id)
                        break;