aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-08-09 19:28:11 -0400
committerPaul Mackerras <paulus@samba.org>2007-08-16 21:01:54 -0400
commit09a54101e15f43607722dee55f33d1962653c6cb (patch)
treeac51065cb1918727e66b04b33cfab40890362f27
parent0f7f2fb85a67953acd6bf379681f22f5c83d4f60 (diff)
[POWERPC] pseries: Remove dead EEH video code
Remove dead code, and a misleading comment about EEH checking for video devices. The removed code is a left-over from the olden days where there was concern over how video devices worked in Linux. We are never going to go that way again, so kill this. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> ---- arch/powerpc/platforms/pseries/eeh.c | 17 ----------------- 1 file changed, 17 deletions(-) Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/platforms/pseries/eeh.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index 41b64b370fc6..b242c6c34f81 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -969,23 +969,6 @@ static void *early_enable_eeh(struct device_node *dn, void *data)
969 } 969 }
970 pdn->class_code = *class_code; 970 pdn->class_code = *class_code;
971 971
972 /*
973 * Now decide if we are going to "Disable" EEH checking
974 * for this device. We still run with the EEH hardware active,
975 * but we won't be checking for ff's. This means a driver
976 * could return bad data (very bad!), an interrupt handler could
977 * hang waiting on status bits that won't change, etc.
978 * But there are a few cases like display devices that make sense.
979 */
980 enable = 1; /* i.e. we will do checking */
981#if 0
982 if ((*class_code >> 16) == PCI_BASE_CLASS_DISPLAY)
983 enable = 0;
984#endif
985
986 if (!enable)
987 pdn->eeh_mode |= EEH_MODE_NOCHECK;
988
989 /* Ok... see if this device supports EEH. Some do, some don't, 972 /* Ok... see if this device supports EEH. Some do, some don't,
990 * and the only way to find out is to check each and every one. */ 973 * and the only way to find out is to check each and every one. */
991 regs = of_get_property(dn, "reg", NULL); 974 regs = of_get_property(dn, "reg", NULL);