Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127398
b: refs/heads/master
c: e558234
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Jesse Barnes committed Jan 7, 2009
1 parent f356c16 commit 9f8f5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67eed58060ca2049fd59d35f426b6c7dbd51b20b
refs/heads/master: e55823492dde22f841ec7deeb4d61f195ecb7ed4
17 changes: 1 addition & 16 deletions trunk/arch/sh/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@
#include <linux/init.h>
#include <asm/io.h>

static u8 __init simple_swizzle(struct pci_dev *dev, u8 *pinp)
{
u8 pin = *pinp;

while (dev->bus->parent) {
pin = pci_swizzle_interrupt_pin(dev, pin);
/* Move up the chain of bridges. */
dev = dev->bus->self;
}
*pinp = pin;

/* The slot is the slot of the last bridge. */
return PCI_SLOT(dev->devfn);
}

static int __init pcibios_init(void)
{
struct pci_channel *p;
Expand All @@ -56,7 +41,7 @@ static int __init pcibios_init(void)
busno = bus->subordinate + 1;
}

pci_fixup_irqs(simple_swizzle, pcibios_map_platform_irq);
pci_fixup_irqs(pci_common_swizzle, pcibios_map_platform_irq);

return 0;
}
Expand Down

0 comments on commit 9f8f5b0

Please sign in to comment.