File tree Expand file tree Collapse file tree 4 files changed +0
-34
lines changed Expand file tree Collapse file tree 4 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,6 @@ void eeh_addr_cache_init(void);
304
304
void eeh_add_device_early (struct pci_dn * );
305
305
void eeh_add_device_tree_early (struct pci_dn * );
306
306
void eeh_add_device_late (struct pci_dev * );
307
- void eeh_add_device_tree_late (struct pci_bus * );
308
307
void eeh_remove_device (struct pci_dev * );
309
308
int eeh_unfreeze_pe (struct eeh_pe * pe );
310
309
int eeh_pe_reset_and_recover (struct eeh_pe * pe );
@@ -365,8 +364,6 @@ static inline void eeh_add_device_tree_early(struct pci_dn *pdn) { }
365
364
366
365
static inline void eeh_add_device_late (struct pci_dev * dev ) { }
367
366
368
- static inline void eeh_add_device_tree_late (struct pci_bus * bus ) { }
369
-
370
367
static inline void eeh_remove_device (struct pci_dev * dev ) { }
371
368
372
369
#define EEH_POSSIBLE_ERROR (val , type ) (0)
Original file line number Diff line number Diff line change @@ -1213,31 +1213,6 @@ void eeh_add_device_late(struct pci_dev *dev)
1213
1213
eeh_sysfs_add_device (dev );
1214
1214
}
1215
1215
1216
- /**
1217
- * eeh_add_device_tree_late - Perform EEH initialization for the indicated PCI bus
1218
- * @bus: PCI bus
1219
- *
1220
- * This routine must be used to perform EEH initialization for PCI
1221
- * devices which are attached to the indicated PCI bus. The PCI bus
1222
- * is added after system boot through hotplug or dlpar.
1223
- */
1224
- void eeh_add_device_tree_late (struct pci_bus * bus )
1225
- {
1226
- struct pci_dev * dev ;
1227
-
1228
- if (eeh_has_flag (EEH_FORCE_DISABLED ))
1229
- return ;
1230
- list_for_each_entry (dev , & bus -> devices , bus_list ) {
1231
- eeh_add_device_late (dev );
1232
- if (dev -> hdr_type == PCI_HEADER_TYPE_BRIDGE ) {
1233
- struct pci_bus * subbus = dev -> subordinate ;
1234
- if (subbus )
1235
- eeh_add_device_tree_late (subbus );
1236
- }
1237
- }
1238
- }
1239
- EXPORT_SYMBOL_GPL (eeh_add_device_tree_late );
1240
-
1241
1216
/**
1242
1217
* eeh_remove_device - Undo EEH setup for the indicated pci device
1243
1218
* @dev: pci device to be removed
Original file line number Diff line number Diff line change @@ -80,9 +80,6 @@ static int of_pci_phb_probe(struct platform_device *dev)
80
80
*/
81
81
pcibios_claim_one_bus (phb -> bus );
82
82
83
- /* Finish EEH setup */
84
- eeh_add_device_tree_late (phb -> bus );
85
-
86
83
/* Add probed PCI devices to the device model */
87
84
pci_bus_add_devices (phb -> bus );
88
85
Original file line number Diff line number Diff line change @@ -1399,9 +1399,6 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus)
1399
1399
pci_assign_unassigned_bus_resources (bus );
1400
1400
}
1401
1401
1402
- /* Fixup EEH */
1403
- eeh_add_device_tree_late (bus );
1404
-
1405
1402
/* Add new devices to global lists. Register in proc, sysfs. */
1406
1403
pci_bus_add_devices (bus );
1407
1404
}
You can’t perform that action at this time.
0 commit comments