pci-common.c (c7d77a7980e434c3af17de19e3348157f9b9ccce) pci-common.c (6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1)
1/*
2 * Contains common pci routines for ALL ppc platform
3 * (based on pci_32.c and pci_64.c)
4 *
5 * Port for PPC64 David Engebretsen, IBM Corp.
6 * Contains common pci routines for ppc64 platform, pSeries and iSeries brands.
7 *
8 * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM

--- 86 unchanged lines hidden (view full) ---

95{
96 spin_lock(&hose_spinlock);
97 list_del(&phb->list_node);
98 spin_unlock(&hose_spinlock);
99
100 if (phb->is_dynamic)
101 kfree(phb);
102}
1/*
2 * Contains common pci routines for ALL ppc platform
3 * (based on pci_32.c and pci_64.c)
4 *
5 * Port for PPC64 David Engebretsen, IBM Corp.
6 * Contains common pci routines for ppc64 platform, pSeries and iSeries brands.
7 *
8 * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM

--- 86 unchanged lines hidden (view full) ---

95{
96 spin_lock(&hose_spinlock);
97 list_del(&phb->list_node);
98 spin_unlock(&hose_spinlock);
99
100 if (phb->is_dynamic)
101 kfree(phb);
102}
103EXPORT_SYMBOL_GPL(pcibios_free_controller);
103
104/*
105 * The function is used to return the minimal alignment
106 * for memory or I/O windows of the associated P2P bridge.
107 * By default, 4KiB alignment for I/O windows and 1MiB for
108 * memory windows.
109 */
110resource_size_t pcibios_window_alignment(struct pci_bus *bus,

--- 1580 unchanged lines hidden ---
104
105/*
106 * The function is used to return the minimal alignment
107 * for memory or I/O windows of the associated P2P bridge.
108 * By default, 4KiB alignment for I/O windows and 1MiB for
109 * memory windows.
110 */
111resource_size_t pcibios_window_alignment(struct pci_bus *bus,

--- 1580 unchanged lines hidden ---