diff options
author | Linas Vepstas <linas@linas.org> | 2005-11-04 01:49:45 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 01:35:49 +0100 |
commit | f8632c822719cce08cfb128859e354007744cbba (patch) | |
tree | 3abc7f6ce623e300d612941225bfeb7695a5dcc6 /arch | |
parent | [PATCH] ppc64: bugfix: crash on PCI hotplug (diff) | |
download | linux-f8632c822719cce08cfb128859e354007744cbba.tar.xz linux-f8632c822719cce08cfb128859e354007744cbba.zip |
[PATCH] ppc64: bugfix: don't silently ignore PCI errors
10-EEH-enable-bugfix.patch
Bugfix: With the curent linux-2.6.14-rc2-git6, EEH errors are
ignored because thier detection requires an unused, uninitialized
flag to be set. This patch removes the unused flag.
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/ppc64/kernel/eeh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/eeh.c b/arch/ppc64/kernel/eeh.c index 0c52c2de92e0..9df1d5018363 100644 --- a/arch/ppc64/kernel/eeh.c +++ b/arch/ppc64/kernel/eeh.c @@ -631,11 +631,12 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev) pdn = PCI_DN(dn); /* Access to IO BARs might get this far and still not want checking. */ - if (!pdn->eeh_capable || !(pdn->eeh_mode & EEH_MODE_SUPPORTED) || + if (!(pdn->eeh_mode & EEH_MODE_SUPPORTED) || pdn->eeh_mode & EEH_MODE_NOCHECK) { __get_cpu_var(ignored_check)++; #ifdef DEBUG - printk ("EEH:ignored check for %s %s\n", pci_name (dev), dn->full_name); + printk ("EEH:ignored check (%x) for %s %s\n", + pdn->eeh_mode, pci_name (dev), dn->full_name); #endif return 0; } |