]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a1597d308f0fd38b2d903e6fc688060992fb72c
treef9e923dc2f51dbd88eac640ad9efa93f4d87c848
parent1b123d0ee4e05164e48f3c4771f1ffc19a1c1e2e
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