diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-09-07 18:44:16 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-09 19:35:42 -0400 |
commit | ff477966c626e440dd1737801ae4d52cf1f22bff (patch) | |
tree | 0b588b5bcc303c0685cd4d0d10925147affaa533 /arch/powerpc/include/asm/ppc-pci.h | |
parent | 9e6d2cf65e3dbaf783917c92c15d31d419b0d648 (diff) |
powerpc/eeh: I/O enable and log retrival based on PE
The patch refactors the original implementation in order to enable
I/O and retrieve EEH log based on PE.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ppc-pci.h')
-rw-r--r-- | arch/powerpc/include/asm/ppc-pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/ppc-pci.h b/arch/powerpc/include/asm/ppc-pci.h index 5cbe3f2a7e80..5e34b10aaa12 100644 --- a/arch/powerpc/include/asm/ppc-pci.h +++ b/arch/powerpc/include/asm/ppc-pci.h | |||
@@ -51,8 +51,8 @@ void pci_addr_cache_build(void); | |||
51 | void pci_addr_cache_insert_device(struct pci_dev *dev); | 51 | void pci_addr_cache_insert_device(struct pci_dev *dev); |
52 | void pci_addr_cache_remove_device(struct pci_dev *dev); | 52 | void pci_addr_cache_remove_device(struct pci_dev *dev); |
53 | struct pci_dev *pci_addr_cache_get_device(unsigned long addr); | 53 | struct pci_dev *pci_addr_cache_get_device(unsigned long addr); |
54 | void eeh_slot_error_detail(struct eeh_dev *edev, int severity); | 54 | void eeh_slot_error_detail(struct eeh_pe *pe, int severity); |
55 | int eeh_pci_enable(struct eeh_dev *edev, int function); | 55 | int eeh_pci_enable(struct eeh_pe *pe, int function); |
56 | int eeh_reset_pe(struct eeh_dev *); | 56 | int eeh_reset_pe(struct eeh_dev *); |
57 | int rtas_write_config(struct pci_dn *, int where, int size, u32 val); | 57 | int rtas_write_config(struct pci_dn *, int where, int size, u32 val); |
58 | int rtas_read_config(struct pci_dn *, int where, int size, u32 *val); | 58 | int rtas_read_config(struct pci_dn *, int where, int size, u32 *val); |