aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/eeh.c
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-11-15 13:57:27 -0500
committerPaul Mackerras <paulus@samba.org>2007-12-02 21:56:26 -0500
commitc9b65a7da694bd774398283b9bd860f7e3234432 (patch)
treee5051c0071de0156147674b171fe76aae48fbda8 /arch/powerpc/platforms/pseries/eeh.c
parent307d46e83291ef58b2c3b6d33b7ec6dd163d58b9 (diff)
[POWERPC] EEH: Be careful when identifying "empty" slots.
If an "empty" slot is failing, make sure its a permanent failure; else process the error normally. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh.c')
-rw-r--r--arch/powerpc/platforms/pseries/eeh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index 42a30b6628a9..aa14a8559edb 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -546,7 +546,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev)
546 546
547 /* Note that config-io to empty slots may fail; 547 /* Note that config-io to empty slots may fail;
548 * they are empty when they don't have children. */ 548 * they are empty when they don't have children. */
549 if ((rets[0] == 5) && (dn->child == NULL)) { 549 if ((rets[0] == 5) && (rets[2] == 0) && (dn->child == NULL)) {
550 false_positives++; 550 false_positives++;
551 pdn->eeh_false_positives ++; 551 pdn->eeh_false_positives ++;
552 rc = 0; 552 rc = 0;