diff options
Diffstat (limited to 'arch/ppc64/kernel/pci.c')
| -rw-r--r-- | arch/ppc64/kernel/pci.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/ppc64/kernel/pci.c b/arch/ppc64/kernel/pci.c index 30247ff74972..3cef1b8f57f0 100644 --- a/arch/ppc64/kernel/pci.c +++ b/arch/ppc64/kernel/pci.c | |||
| @@ -548,6 +548,11 @@ static int __init pcibios_init(void) | |||
| 548 | if (ppc64_isabridge_dev != NULL) | 548 | if (ppc64_isabridge_dev != NULL) |
| 549 | printk("ISA bridge at %s\n", pci_name(ppc64_isabridge_dev)); | 549 | printk("ISA bridge at %s\n", pci_name(ppc64_isabridge_dev)); |
| 550 | 550 | ||
| 551 | #ifdef CONFIG_PPC_MULTIPLATFORM | ||
| 552 | /* map in PCI I/O space */ | ||
| 553 | phbs_remap_io(); | ||
| 554 | #endif | ||
| 555 | |||
| 551 | printk("PCI: Probing PCI hardware done\n"); | 556 | printk("PCI: Probing PCI hardware done\n"); |
| 552 | 557 | ||
| 553 | return 0; | 558 | return 0; |
| @@ -1277,12 +1282,9 @@ long sys_pciconfig_iobase(long which, unsigned long in_bus, | |||
| 1277 | * G5 machines... So when something asks for bus 0 io base | 1282 | * G5 machines... So when something asks for bus 0 io base |
| 1278 | * (bus 0 is HT root), we return the AGP one instead. | 1283 | * (bus 0 is HT root), we return the AGP one instead. |
| 1279 | */ | 1284 | */ |
| 1280 | #ifdef CONFIG_PPC_PMAC | 1285 | if (machine_is_compatible("MacRISC4")) |
| 1281 | if (systemcfg->platform == PLATFORM_POWERMAC && | ||
| 1282 | machine_is_compatible("MacRISC4")) | ||
| 1283 | if (in_bus == 0) | 1286 | if (in_bus == 0) |
| 1284 | in_bus = 0xf0; | 1287 | in_bus = 0xf0; |
| 1285 | #endif /* CONFIG_PPC_PMAC */ | ||
| 1286 | 1288 | ||
| 1287 | /* That syscall isn't quite compatible with PCI domains, but it's | 1289 | /* That syscall isn't quite compatible with PCI domains, but it's |
| 1288 | * used on pre-domains setup. We return the first match | 1290 | * used on pre-domains setup. We return the first match |
