diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-02-27 15:04:07 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-08 19:39:44 -0500 |
commit | f631acd3e98c31b21937682d2b3f39bf9333a18e (patch) | |
tree | 411b6bd805b5116c3d28dabf6bafb53012577d10 /arch/powerpc/include/asm/ppc-pci.h | |
parent | d50a7d4c6fc2a2055fdcb5d7af9605ae80385206 (diff) |
powerpc/eeh: Replace pci_dn with eeh_dev for EEH core
The original EEH implementation is heavily depending on struct pci_dn.
We have to put EEH related information to pci_dn. Actually, we could
split struct pci_dn so that the EEH sensitive information to form an
individual struct, then EEH looks more independent.
The patch replaces pci_dn with eeh_dev for EEH core.
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/ppc-pci.h b/arch/powerpc/include/asm/ppc-pci.h index c02d5a76caca..e660b37aa7d0 100644 --- a/arch/powerpc/include/asm/ppc-pci.h +++ b/arch/powerpc/include/asm/ppc-pci.h | |||
@@ -53,10 +53,10 @@ void pci_addr_cache_build(void); | |||
53 | void pci_addr_cache_insert_device(struct pci_dev *dev); | 53 | void pci_addr_cache_insert_device(struct pci_dev *dev); |
54 | void pci_addr_cache_remove_device(struct pci_dev *dev); | 54 | void pci_addr_cache_remove_device(struct pci_dev *dev); |
55 | struct pci_dev *pci_addr_cache_get_device(unsigned long addr); | 55 | struct pci_dev *pci_addr_cache_get_device(unsigned long addr); |
56 | void eeh_slot_error_detail (struct pci_dn *pdn, int severity); | 56 | void eeh_slot_error_detail(struct eeh_dev *edev, int severity); |
57 | int eeh_pci_enable(struct pci_dn *pdn, int function); | 57 | int eeh_pci_enable(struct eeh_dev *edev, int function); |
58 | int eeh_reset_pe(struct pci_dn *); | 58 | int eeh_reset_pe(struct eeh_dev *); |
59 | void eeh_restore_bars(struct pci_dn *); | 59 | void eeh_restore_bars(struct eeh_dev *); |
60 | int rtas_write_config(struct pci_dn *, int where, int size, u32 val); | 60 | int rtas_write_config(struct pci_dn *, int where, int size, u32 val); |
61 | int rtas_read_config(struct pci_dn *, int where, int size, u32 *val); | 61 | int rtas_read_config(struct pci_dn *, int where, int size, u32 *val); |
62 | void eeh_mark_slot(struct device_node *dn, int mode_flag); | 62 | void eeh_mark_slot(struct device_node *dn, int mode_flag); |