aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/eeh.c
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-11-16 05:56:23 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-03 13:56:26 +1100
commit307d46e83291ef58b2c3b6d33b7ec6dd163d58b9 (patch)
treeda4cb253576247e9d3bde3930a36d5dcf1284216 /arch/powerpc/platforms/pseries/eeh.c
parent1b0e9d44ee6f9c969d3110d5d2db3b6eb472ae14 (diff)
[POWERPC] EEH: Work with device endpoint, always
Perform all error checking at the "partitonable endpoint" of the device. 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index fb3d636e088..42a30b6628a 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -480,6 +480,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev)
no_dn++;
return 0;
}
+ dn = find_device_pe(dn);
pdn = PCI_DN(dn);
/* Access to IO BARs might get this far and still not want checking. */