powerpc: rename ppc_pci_*_flags to pci_*_flags
This renames pci flags functions and enums in preparation for creating generic version in asm-generic/pci-bridge.h. The following search and replace is done: s/ppc_pci_/pci_/ s/PPC_PCI_/PCI_/ Direct accesses to ppc_pci_flag variable are replaced with helper functions. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org>
This commit is contained in:
@@ -731,7 +731,7 @@ static void __init setup_bandit(struct pci_controller *hose,
|
||||
static int __init setup_uninorth(struct pci_controller *hose,
|
||||
struct resource *addr)
|
||||
{
|
||||
ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS);
|
||||
pci_add_flags(PCI_REASSIGN_ALL_BUS);
|
||||
has_uninorth = 1;
|
||||
hose->ops = ¯isc_pci_ops;
|
||||
hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000);
|
||||
@@ -998,7 +998,7 @@ void __init pmac_pci_init(void)
|
||||
struct device_node *np, *root;
|
||||
struct device_node *ht = NULL;
|
||||
|
||||
ppc_pci_set_flags(PPC_PCI_CAN_SKIP_ISA_ALIGN);
|
||||
pci_set_flags(PCI_CAN_SKIP_ISA_ALIGN);
|
||||
|
||||
root = of_find_node_by_path("/");
|
||||
if (root == NULL) {
|
||||
@@ -1057,7 +1057,7 @@ void __init pmac_pci_init(void)
|
||||
* some offset between bus number and domains for now when we
|
||||
* assign all busses should help for now
|
||||
*/
|
||||
if (ppc_pci_has_flag(PPC_PCI_REASSIGN_ALL_BUS))
|
||||
if (pci_has_flag(PCI_REASSIGN_ALL_BUS))
|
||||
pcibios_assign_bus_offset = 0x10;
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user