diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-11-15 13:56:23 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-02 21:56:26 -0500 |
commit | 307d46e83291ef58b2c3b6d33b7ec6dd163d58b9 (patch) | |
tree | da4cb253576247e9d3bde3930a36d5dcf1284216 /arch | |
parent | 1b0e9d44ee6f9c969d3110d5d2db3b6eb472ae14 (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')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index fb3d636e088b..42a30b6628a9 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) | |||
480 | no_dn++; | 480 | no_dn++; |
481 | return 0; | 481 | return 0; |
482 | } | 482 | } |
483 | dn = find_device_pe(dn); | ||
483 | pdn = PCI_DN(dn); | 484 | pdn = PCI_DN(dn); |
484 | 485 | ||
485 | /* Access to IO BARs might get this far and still not want checking. */ | 486 | /* Access to IO BARs might get this far and still not want checking. */ |