dect
/
linux-2.6
Archived
13
0
Fork 0

[POWERPC] EEH: hotplug recovery bugfix

If a device driver does not have native PCI error recovery,
a hotplug error recovery will be attemped. In this case,
the device driver will not report back whether its healthy
or not; simply assume that it is.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Linas Vepstas 2007-03-19 14:55:10 -05:00 committed by Paul Mackerras
parent 147d6a3750
commit 90fdd6130f
1 changed files with 2 additions and 1 deletions

View File

@ -438,7 +438,8 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event)
}
/* All devices should claim they have recovered by now. */
if (result != PCI_ERS_RESULT_RECOVERED) {
if ((result != PCI_ERS_RESULT_RECOVERED) &&
(result != PCI_ERS_RESULT_NONE)) {
printk(KERN_WARNING "EEH: Not recovered\n");
goto hard_fail;
}