Procházet zdrojové kódy

[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>
Linas Vepstas před 17 roky
rodič
revize
307d46e832
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      arch/powerpc/platforms/pseries/eeh.c

+ 1 - 0
arch/powerpc/platforms/pseries/eeh.c

@@ -480,6 +480,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev)
 		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. */