[PATCH 1/3 v2] powerpc: EEH: work with device endpoint, always
Linas Vepstas
linas at austin.ibm.com
Fri Nov 16 05:56:23 EST 2007
Perform all error checking at the "partitonable endpoint"
of the device.
Signed-off-by: Linas Vepstas <linas at austin.ibm.com>
----
version 2: I still can't get whitespace right the first time ...
arch/powerpc/platforms/pseries/eeh.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.23-rc8-mm1/arch/powerpc/platforms/pseries/eeh.c
===================================================================
--- linux-2.6.23-rc8-mm1.orig/arch/powerpc/platforms/pseries/eeh.c 2007-11-09 16:54:04.000000000 -0600
+++ linux-2.6.23-rc8-mm1/arch/powerpc/platforms/pseries/eeh.c 2007-11-09 16:56:39.000000000 -0600
@@ -482,6 +482,7 @@ int eeh_dn_check_failure(struct device_n
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. */
More information about the Linuxppc-dev
mailing list