Commit 643befed authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar

x86: use not_pci bitmap #6

Signed-off-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9c0076cb
...@@ -1091,17 +1091,9 @@ static int pin_2_irq(int idx, int apic, int pin) ...@@ -1091,17 +1091,9 @@ static int pin_2_irq(int idx, int apic, int pin)
if (mp_irqs[idx].mpc_dstirq != pin) if (mp_irqs[idx].mpc_dstirq != pin)
printk(KERN_ERR "broken BIOS or MPTABLE parser, ayiee!!\n"); printk(KERN_ERR "broken BIOS or MPTABLE parser, ayiee!!\n");
switch (mp_bus_id_to_type[bus]) if (test_bit(bus, mp_bus_not_pci))
{
case MP_BUS_ISA: /* ISA pin */
case MP_BUS_EISA:
case MP_BUS_MCA:
{
irq = mp_irqs[idx].mpc_srcbusirq; irq = mp_irqs[idx].mpc_srcbusirq;
break; else {
}
case MP_BUS_PCI: /* PCI pin */
{
/* /*
* PCI IRQs are mapped in order * PCI IRQs are mapped in order
*/ */
...@@ -1115,15 +1107,6 @@ static int pin_2_irq(int idx, int apic, int pin) ...@@ -1115,15 +1107,6 @@ static int pin_2_irq(int idx, int apic, int pin)
*/ */
if (ioapic_renumber_irq) if (ioapic_renumber_irq)
irq = ioapic_renumber_irq(apic, irq); irq = ioapic_renumber_irq(apic, irq);
break;
}
default:
{
printk(KERN_ERR "unknown bus type %d.\n",bus);
irq = 0;
break;
}
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment