diff options
Diffstat (limited to 'include/asm-ppc64/prom.h')
| -rw-r--r-- | include/asm-ppc64/prom.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/include/asm-ppc64/prom.h b/include/asm-ppc64/prom.h index dc5330b39509..c02ec1d6b909 100644 --- a/include/asm-ppc64/prom.h +++ b/include/asm-ppc64/prom.h | |||
| @@ -116,14 +116,6 @@ struct property { | |||
| 116 | struct property *next; | 116 | struct property *next; |
| 117 | }; | 117 | }; |
| 118 | 118 | ||
| 119 | /* NOTE: the device_node contains PCI specific info for pci devices. | ||
| 120 | * This perhaps could be hung off the device_node with another struct, | ||
| 121 | * but for now it is directly in the node. The phb ptr is a good | ||
| 122 | * indication of a real PCI node. Other nodes leave these fields zeroed. | ||
| 123 | */ | ||
| 124 | struct pci_controller; | ||
| 125 | struct iommu_table; | ||
| 126 | |||
| 127 | struct device_node { | 119 | struct device_node { |
| 128 | char *name; | 120 | char *name; |
| 129 | char *type; | 121 | char *type; |
| @@ -135,16 +127,6 @@ struct device_node { | |||
| 135 | struct interrupt_info *intrs; | 127 | struct interrupt_info *intrs; |
| 136 | char *full_name; | 128 | char *full_name; |
| 137 | 129 | ||
| 138 | /* PCI stuff probably doesn't belong here */ | ||
| 139 | int busno; /* for pci devices */ | ||
| 140 | int bussubno; /* for pci devices */ | ||
| 141 | int devfn; /* for pci devices */ | ||
| 142 | int eeh_mode; /* See eeh.h for possible EEH_MODEs */ | ||
| 143 | int eeh_config_addr; | ||
| 144 | int pci_ext_config_space; /* for pci devices */ | ||
| 145 | struct pci_controller *phb; /* for pci devices */ | ||
| 146 | struct iommu_table *iommu_table; /* for phb's or bridges */ | ||
| 147 | |||
| 148 | struct property *properties; | 130 | struct property *properties; |
| 149 | struct device_node *parent; | 131 | struct device_node *parent; |
| 150 | struct device_node *child; | 132 | struct device_node *child; |
| @@ -154,6 +136,7 @@ struct device_node { | |||
| 154 | struct proc_dir_entry *pde; /* this node's proc directory */ | 136 | struct proc_dir_entry *pde; /* this node's proc directory */ |
| 155 | struct kref kref; | 137 | struct kref kref; |
| 156 | unsigned long _flags; | 138 | unsigned long _flags; |
| 139 | void *data; | ||
| 157 | }; | 140 | }; |
| 158 | 141 | ||
| 159 | extern struct device_node *of_chosen; | 142 | extern struct device_node *of_chosen; |
