Messages in this thread Patch in this message | | | Date | Wed, 4 Feb 1998 02:42:00 +0100 (CET) | From | MOLNAR Ingo <> | Subject | [miniPatch] where IO-APIC still doesnt work ... |
| |
this little deltapatch makes at least ASUS boards work too, but i suspect the Supermicro problem gets fixed too?
anyway, both success and failure reports welcome, ask me for mptable.c if you havent got it yet.
-- mingo
--- linux/arch/i386/kernel/.io_apic.c.orig2 Mon Feb 9 13:45:25 1998 +++ linux/arch/i386/kernel/io_apic.c Mon Feb 9 14:33:42 1998 @@ -394,7 +394,7 @@ { int i; - for (i=mp_irq_entries-1; i>=0; i--) { + for (i=0; i<mp_irq_entries; i++) { int lbus = mp_irqs[i].mpc_srcbus; if ((mp_bus_id_to_type[lbus] == MP_BUS_PCI) && @@ -403,7 +403,7 @@ (slot == (mp_irqs[i].mpc_srcbusirq >> 2)) && (pci_pin == (mp_irqs[i].mpc_srcbusirq & 3))) - return i; + return mp_irqs[i].mpc_dstirq; } return -1; }
| |