Home
last modified time | relevance | path

Searched refs:newirq (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-irq.c540 int i, pirq, newirq; in pcibios_lookup_irq() local
577 newirq = dev->irq; in pcibios_lookup_irq()
578 if (!newirq && assign) { in pcibios_lookup_irq()
582 if (pirq_penalty[i] < pirq_penalty[newirq] && in pcibios_lookup_irq()
585 newirq = i; in pcibios_lookup_irq()
589 DBG(" -> newirq=%d", newirq); in pcibios_lookup_irq()
599 } else if (newirq && r->set && (dev->class >> 8) != PCI_CLASS_DISPLAY_VGA) { in pcibios_lookup_irq()
600 DBG(" -> assigning IRQ %d", newirq); in pcibios_lookup_irq()
601 if (r->set(pirq_router_dev, dev, pirq, newirq)) { in pcibios_lookup_irq()
602 eisa_set_level_irq(newirq); in pcibios_lookup_irq()
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dpci-irq.c948 int i, pirq, newirq; in pcibios_lookup_irq() local
1002 newirq = dev->irq; in pcibios_lookup_irq()
1003 if (!newirq && assign) { in pcibios_lookup_irq()
1007 if (pirq_penalty[i] < pirq_penalty[newirq] && in pcibios_lookup_irq()
1010 newirq = i; in pcibios_lookup_irq()
1014 DBG(" -> newirq=%d", newirq); in pcibios_lookup_irq()
1024 } else if (newirq && r->set && (dev->class >> 8) != PCI_CLASS_DISPLAY_VGA) { in pcibios_lookup_irq()
1025 DBG(" -> assigning IRQ %d", newirq); in pcibios_lookup_irq()
1026 if (r->set(pirq_router_dev, dev, pirq, newirq)) { in pcibios_lookup_irq()
1027 eisa_set_level_irq(newirq); in pcibios_lookup_irq()
[all …]