diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 20:12:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 20:12:10 -0400 |
commit | 3960ef326a1838971466193ffa008ff37c1d978d (patch) | |
tree | 282b74377bccb9fa79639ce4df2dcb48652dbdec /arch/powerpc/sysdev | |
parent | 62c9072bee2272232d0ed92dc8148c48c1f10f8e (diff) | |
parent | c8f85523e70f8202ff49858bacd72fa65245f382 (diff) |
Merge branch 'next/cross-platform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc
* 'next/cross-platform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
ARM: Consolidate the clkdev header files
ARM: set vga memory base at run-time
ARM: convert PCI defines to variables
ARM: pci: make pcibios_assign_all_busses use pci_has_flag
ARM: remove unnecessary mach/hardware.h includes
pci: move microblaze and powerpc pci flag functions into asm-generic
powerpc: rename ppc_pci_*_flags to pci_*_flags
Fix up conflicts in arch/microblaze/include/asm/pci-bridge.h
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 4 | ||||
-rw-r--r-- | arch/powerpc/sysdev/grackle.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/ppc4xx_pci.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 3bba8bdb58b0..4ce547e00473 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -351,7 +351,7 @@ int __init fsl_add_bridge(struct device_node *dev, int is_primary) | |||
351 | printk(KERN_WARNING "Can't get bus-range for %s, assume" | 351 | printk(KERN_WARNING "Can't get bus-range for %s, assume" |
352 | " bus 0\n", dev->full_name); | 352 | " bus 0\n", dev->full_name); |
353 | 353 | ||
354 | ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS); | 354 | pci_add_flags(PCI_REASSIGN_ALL_BUS); |
355 | hose = pcibios_alloc_controller(dev); | 355 | hose = pcibios_alloc_controller(dev); |
356 | if (!hose) | 356 | if (!hose) |
357 | return -ENOMEM; | 357 | return -ENOMEM; |
@@ -640,7 +640,7 @@ int __init mpc83xx_add_bridge(struct device_node *dev) | |||
640 | " bus 0\n", dev->full_name); | 640 | " bus 0\n", dev->full_name); |
641 | } | 641 | } |
642 | 642 | ||
643 | ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS); | 643 | pci_add_flags(PCI_REASSIGN_ALL_BUS); |
644 | hose = pcibios_alloc_controller(dev); | 644 | hose = pcibios_alloc_controller(dev); |
645 | if (!hose) | 645 | if (!hose) |
646 | return -ENOMEM; | 646 | return -ENOMEM; |
diff --git a/arch/powerpc/sysdev/grackle.c b/arch/powerpc/sysdev/grackle.c index cf27df6e508b..08abe91ae798 100644 --- a/arch/powerpc/sysdev/grackle.c +++ b/arch/powerpc/sysdev/grackle.c | |||
@@ -57,7 +57,7 @@ void __init setup_grackle(struct pci_controller *hose) | |||
57 | { | 57 | { |
58 | setup_indirect_pci(hose, 0xfec00000, 0xfee00000, 0); | 58 | setup_indirect_pci(hose, 0xfec00000, 0xfee00000, 0); |
59 | if (of_machine_is_compatible("PowerMac1,1")) | 59 | if (of_machine_is_compatible("PowerMac1,1")) |
60 | ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS); | 60 | pci_add_flags(PCI_REASSIGN_ALL_BUS); |
61 | if (of_machine_is_compatible("AAPL,PowerBook1998")) | 61 | if (of_machine_is_compatible("AAPL,PowerBook1998")) |
62 | grackle_set_loop_snoop(hose, 1); | 62 | grackle_set_loop_snoop(hose, 1); |
63 | #if 0 /* Disabled for now, HW problems ??? */ | 63 | #if 0 /* Disabled for now, HW problems ??? */ |
diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c index 2ec4f3bb8160..a59ba96d2c21 100644 --- a/arch/powerpc/sysdev/ppc4xx_pci.c +++ b/arch/powerpc/sysdev/ppc4xx_pci.c | |||
@@ -1977,7 +1977,7 @@ static int __init ppc4xx_pci_find_bridges(void) | |||
1977 | { | 1977 | { |
1978 | struct device_node *np; | 1978 | struct device_node *np; |
1979 | 1979 | ||
1980 | ppc_pci_flags |= PPC_PCI_ENABLE_PROC_DOMAINS | PPC_PCI_COMPAT_DOMAIN_0; | 1980 | pci_add_flags(PCI_ENABLE_PROC_DOMAINS | PCI_COMPAT_DOMAIN_0); |
1981 | 1981 | ||
1982 | #ifdef CONFIG_PPC4xx_PCI_EXPRESS | 1982 | #ifdef CONFIG_PPC4xx_PCI_EXPRESS |
1983 | for_each_compatible_node(np, NULL, "ibm,plb-pciex") | 1983 | for_each_compatible_node(np, NULL, "ibm,plb-pciex") |