PCI: mips: use generic INTx swizzle from PCI core
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 17 Dec 2008 04:37:10 +0000 (21:37 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:14 +0000 (11:13 -0800)
commit67eed58060ca2049fd59d35f426b6c7dbd51b20b
treef9e923dc2f51dbd88eac640ad9efa93f4d87c848
parent06df69932add8108f599ef26fcdf36c4f8125e50
PCI: mips: 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 mips 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>
arch/mips/pci/pci.c