Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=09a54101e15f43607722dee55f33d1962653c6cb
Commit:     09a54101e15f43607722dee55f33d1962653c6cb
Parent:     0f7f2fb85a67953acd6bf379681f22f5c83d4f60
Author:     Linas Vepstas <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 10 09:28:11 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:01:54 2007 +1000

    [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 <[EMAIL PROTECTED]>
    
    ----
     arch/powerpc/platforms/pseries/eeh.c |   17 -----------------
     1 file changed, 17 deletions(-)
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/pseries/eeh.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/eeh.c 
b/arch/powerpc/platforms/pseries/eeh.c
index 41b64b3..b242c6c 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)
        }
        pdn->class_code = *class_code;
 
-       /*
-        * Now decide if we are going to "Disable" EEH checking
-        * for this device.  We still run with the EEH hardware active,
-        * but we won't be checking for ff's.  This means a driver
-        * could return bad data (very bad!), an interrupt handler could
-        * hang waiting on status bits that won't change, etc.
-        * But there are a few cases like display devices that make sense.
-        */
-       enable = 1;     /* i.e. we will do checking */
-#if 0
-       if ((*class_code >> 16) == PCI_BASE_CLASS_DISPLAY)
-               enable = 0;
-#endif
-
-       if (!enable)
-               pdn->eeh_mode |= EEH_MODE_NOCHECK;
-
        /* Ok... see if this device supports EEH.  Some do, some don't,
         * and the only way to find out is to check each and every one. */
        regs = of_get_property(dn, "reg", NULL);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to