From: Raghava Aditya Renukunta Date: Wed, 3 Feb 2016 23:06:04 +0000 (-0800) Subject: aacraid: Fundamental reset support for Series 7 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6b93b7dd85dc0788eedc6ad30ff0b01ad9d4c657;p=openwrt%2Fstaging%2Fblogic.git aacraid: Fundamental reset support for Series 7 Series 7 does not support PCI hot reset used by EEH. Enabled fundamental reset only for Series 7 Signed-off-by: Raghava Aditya Renukunta Reviewed-by: Johannes Thumshirn Reviewed-by: Tomas Henzl Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 511722041c83..48e2a7979a5c 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -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;