diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-16 20:01:19 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-16 20:01:19 -0500 |
commit | 23dd64011285010ac291f7dddf6e287bdb43a0ad (patch) | |
tree | 0e4f4569d38d82f4dceb4150d5ad940e0fd5f24f /arch/powerpc/kernel/rtas_pci.c | |
parent | 516450179454de9e689e0a53ed8f34b896e8651c (diff) | |
parent | 485ff09990416c75ae9593ddc71619939ab9dd51 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'arch/powerpc/kernel/rtas_pci.c')
-rw-r--r-- | arch/powerpc/kernel/rtas_pci.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c index 03afb79e27e5..57b539a03fa9 100644 --- a/arch/powerpc/kernel/rtas_pci.c +++ b/arch/powerpc/kernel/rtas_pci.c | |||
@@ -278,8 +278,7 @@ static int phb_set_bus_ranges(struct device_node *dev, | |||
278 | return 0; | 278 | return 0; |
279 | } | 279 | } |
280 | 280 | ||
281 | static int __devinit setup_phb(struct device_node *dev, | 281 | int __devinit setup_phb(struct device_node *dev, struct pci_controller *phb) |
282 | struct pci_controller *phb) | ||
283 | { | 282 | { |
284 | if (is_python(dev)) | 283 | if (is_python(dev)) |
285 | python_countermeasures(dev); | 284 | python_countermeasures(dev); |
@@ -357,27 +356,6 @@ unsigned long __init find_and_init_phbs(void) | |||
357 | return 0; | 356 | return 0; |
358 | } | 357 | } |
359 | 358 | ||
360 | struct pci_controller * __devinit init_phb_dynamic(struct device_node *dn) | ||
361 | { | ||
362 | struct pci_controller *phb; | ||
363 | int primary; | ||
364 | |||
365 | primary = list_empty(&hose_list); | ||
366 | phb = pcibios_alloc_controller(dn); | ||
367 | if (!phb) | ||
368 | return NULL; | ||
369 | setup_phb(dn, phb); | ||
370 | pci_process_bridge_OF_ranges(phb, dn, primary); | ||
371 | |||
372 | pci_setup_phb_io_dynamic(phb, primary); | ||
373 | |||
374 | pci_devs_phb_init_dynamic(phb); | ||
375 | scan_phb(phb); | ||
376 | |||
377 | return phb; | ||
378 | } | ||
379 | EXPORT_SYMBOL(init_phb_dynamic); | ||
380 | |||
381 | /* RPA-specific bits for removing PHBs */ | 359 | /* RPA-specific bits for removing PHBs */ |
382 | int pcibios_remove_root_bus(struct pci_controller *phb) | 360 | int pcibios_remove_root_bus(struct pci_controller *phb) |
383 | { | 361 | { |