aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/pci-bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/pci-bridge.h')
-rw-r--r--include/asm-powerpc/pci-bridge.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index d9bf5aba96cb..11537a07ca70 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -70,19 +70,21 @@ struct pci_dn {
70 int devfn; /* pci device and function number */ 70 int devfn; /* pci device and function number */
71 int class_code; /* pci device class */ 71 int class_code; /* pci device class */
72 72
73#ifdef CONFIG_PPC_PSERIES 73 struct pci_controller *phb; /* for pci devices */
74 struct iommu_table *iommu_table; /* for phb's or bridges */
75 struct pci_dev *pcidev; /* back-pointer to the pci device */
76 struct device_node *node; /* back-pointer to the device_node */
77
78 int pci_ext_config_space; /* for pci devices */
79
80#ifdef CONFIG_EEH
74 int eeh_mode; /* See eeh.h for possible EEH_MODEs */ 81 int eeh_mode; /* See eeh.h for possible EEH_MODEs */
75 int eeh_config_addr; 82 int eeh_config_addr;
76 int eeh_pe_config_addr; /* new-style partition endpoint address */ 83 int eeh_pe_config_addr; /* new-style partition endpoint address */
77 int eeh_check_count; /* # times driver ignored error */ 84 int eeh_check_count; /* # times driver ignored error */
78 int eeh_freeze_count; /* # times this device froze up. */ 85 int eeh_freeze_count; /* # times this device froze up. */
79#endif
80 int pci_ext_config_space; /* for pci devices */
81 struct pci_controller *phb; /* for pci devices */
82 struct iommu_table *iommu_table; /* for phb's or bridges */
83 struct pci_dev *pcidev; /* back-pointer to the pci device */
84 struct device_node *node; /* back-pointer to the device_node */
85 u32 config_space[16]; /* saved PCI config space */ 86 u32 config_space[16]; /* saved PCI config space */
87#endif
86}; 88};
87 89
88/* Get the pointer to a device_node's pci_dn */ 90/* Get the pointer to a device_node's pci_dn */