From: Gavin Shan Date: Mon, 27 Feb 2012 20:04:06 +0000 (+0000) Subject: powerpc/eeh: Replace pci_dn with eeh_dev for EEH address cache X-Git-Tag: v3.4-rc1~159^2~17^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50a7d4c6fc2a2055fdcb5d7af9605ae80385206;p=pandora-kernel.git powerpc/eeh: Replace pci_dn with eeh_dev for EEH address cache With original EEH implementation, struct pci_dn is used while building PCI I/O address cache, which helps on searching the corresponding PCI device according to the given physical I/O address. Besides, pci_dn is associated with the corresponding PCI device while building its I/O cache. The patch replaces struct pci_dn with struct eeh_dev so that EEH address cache won't depend on struct pci_dn. That will help EEH to become an independent module in future. Besides, the binding of eeh_dev and PCI device is done while building PCI device I/O cache. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed