aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/pci_impl.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-12-16 23:37:00 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 14:13:13 -0500
commit3e08601f7f9b497abcb383491058bfb9e1dc6ec9 (patch)
tree3023eadea316e1c159ce049c2bcfbe7ffaa75f3c /arch/alpha/kernel/pci_impl.h
parent68feac87de15edfc2c700d2d81b814288c93d003 (diff)
PCI: alpha: use generic INTx swizzle from PCI core
Use the generic pci_common_swizzle() instead of arch-specific code. Note that pci_common_swizzle() loops based on dev->bus->self, not dev->bus->parent as the alpha common_swizzle() did. I think they are equivalent for this purpose. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/alpha/kernel/pci_impl.h')
-rw-r--r--arch/alpha/kernel/pci_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/pci_impl.h b/arch/alpha/kernel/pci_impl.h
index 7336651592a3..00edd04b585e 100644
--- a/arch/alpha/kernel/pci_impl.h
+++ b/arch/alpha/kernel/pci_impl.h
@@ -107,7 +107,7 @@ struct pci_iommu_arena;
107 * Thus, each swizzle is ((pin-1) + (device#-4)) % 4 107 * Thus, each swizzle is ((pin-1) + (device#-4)) % 4
108 * 108 *
109 * pci_swizzle_interrupt_pin() swizzles for exactly one bridge. The routine 109 * pci_swizzle_interrupt_pin() swizzles for exactly one bridge. The routine
110 * common_swizzle below handles multiple bridges. But there are a 110 * pci_common_swizzle() handles multiple bridges. But there are a
111 * couple boards that do strange things. 111 * couple boards that do strange things.
112 */ 112 */
113 113
@@ -179,7 +179,7 @@ extern int pci_probe_only;
179extern unsigned long alpha_agpgart_size; 179extern unsigned long alpha_agpgart_size;
180 180
181extern void common_init_pci(void); 181extern void common_init_pci(void);
182extern u8 common_swizzle(struct pci_dev *, u8 *); 182#define common_swizzle pci_common_swizzle
183extern struct pci_controller *alloc_pci_controller(void); 183extern struct pci_controller *alloc_pci_controller(void);
184extern struct resource *alloc_resource(void); 184extern struct resource *alloc_resource(void);
185 185