|
@@ -1116,9 +1116,6 @@ void eeh_add_device_late(struct pci_dev *dev)
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- if (eeh_has_flag(EEH_PROBE_MODE_DEV))
|
|
|
|
- eeh_ops->probe(pdn, NULL);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* The EEH cache might not be removed correctly because of
|
|
* The EEH cache might not be removed correctly because of
|
|
* unbalanced kref to the device during unplug time, which
|
|
* unbalanced kref to the device during unplug time, which
|
|
@@ -1142,6 +1139,9 @@ void eeh_add_device_late(struct pci_dev *dev)
|
|
dev->dev.archdata.edev = NULL;
|
|
dev->dev.archdata.edev = NULL;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (eeh_has_flag(EEH_PROBE_MODE_DEV))
|
|
|
|
+ eeh_ops->probe(pdn, NULL);
|
|
|
|
+
|
|
edev->pdev = dev;
|
|
edev->pdev = dev;
|
|
dev->dev.archdata.edev = edev;
|
|
dev->dev.archdata.edev = edev;
|
|
|
|
|