Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43027
b: refs/heads/master
c: 7cd8b68
h: refs/heads/master
i:
  43025: 7b796b3
  43023: c42067a
v: v3
  • Loading branch information
Alan Cox authored and Andi Kleen committed Dec 7, 2006
1 parent 06d3e13 commit acef5f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 72690a21188586022a9e65cb6f1cc8845167555a
refs/heads/master: 7cd8b6861eb586aabe4c725cc0c259ce2e653695
4 changes: 3 additions & 1 deletion trunk/arch/i386/pci/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ static void __init pirq_find_router(struct irq_router *r)
DBG(KERN_DEBUG "PCI: Attempting to find IRQ router for %04x:%04x\n",
rt->rtr_vendor, rt->rtr_device);

pirq_router_dev = pci_find_slot(rt->rtr_bus, rt->rtr_devfn);
pirq_router_dev = pci_get_bus_and_slot(rt->rtr_bus, rt->rtr_devfn);
if (!pirq_router_dev) {
DBG(KERN_DEBUG "PCI: Interrupt router not found at "
"%02x:%02x\n", rt->rtr_bus, rt->rtr_devfn);
Expand All @@ -784,6 +784,8 @@ static void __init pirq_find_router(struct irq_router *r)
pirq_router_dev->vendor,
pirq_router_dev->device,
pci_name(pirq_router_dev));

/* The device remains referenced for the kernel lifetime */
}

static struct irq_info *pirq_get_info(struct pci_dev *dev)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ static int __init calgary_init(void)

error:
do {
dev = pci_find_device_reverse(PCI_VENDOR_ID_IBM,
dev = pci_get_device_reverse(PCI_VENDOR_ID_IBM,
PCI_DEVICE_ID_IBM_CALGARY,
dev);
if (!dev)
Expand Down

0 comments on commit acef5f4

Please sign in to comment.