lkml.org 
[lkml]   [1998]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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;
}


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.030 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site