Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127399
b: refs/heads/master
c: 904d6a3
h: refs/heads/master
i:
  127397: f356c16
  127395: c155fc8
  127391: 6e92801
v: v3
  • Loading branch information
Bjorn Helgaas authored and Jesse Barnes committed Jan 7, 2009
1 parent 9f8f5b0 commit ab6a959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 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: e55823492dde22f841ec7deeb4d61f195ecb7ed4
refs/heads/master: 904d6a303361a85bfa4c8181ef62a24edb8da0a8
15 changes: 1 addition & 14 deletions trunk/arch/x86/pci/visws.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@ static void pci_visws_disable_irq(struct pci_dev *dev) { }

unsigned int pci_bus0, pci_bus1;

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

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

return PCI_SLOT(dev->devfn);
}

static int __init visws_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
int irq, bus = dev->bus->number;
Expand Down Expand Up @@ -101,7 +88,7 @@ int __init pci_visws_init(void)
raw_pci_ops = &pci_direct_conf1;
pci_scan_bus_with_sysdata(pci_bus0);
pci_scan_bus_with_sysdata(pci_bus1);
pci_fixup_irqs(visws_swizzle, visws_map_irq);
pci_fixup_irqs(pci_common_swizzle, visws_map_irq);
pcibios_resource_survey();
return 0;
}

0 comments on commit ab6a959

Please sign in to comment.