Re: e7500 and IRQ assignment

Zwane Mwaikambo (zwane@holomorphy.com)
Mon, 25 Nov 2002 14:54:28 -0500 (EST)


On Mon, 25 Nov 2002, Zwane Mwaikambo wrote:

> Please humour me here (you only have 20 IRQ sources and everything looks
> properly wired on IOAPIC#2 ;)

Forgot something (cheers Bill)

Index: linux-2.4.20-rc1-ac4/include/asm-i386/apicdef.h
===================================================================
RCS file: /build/cvsroot/linux-2.4.20-rc1-ac4/include/asm-i386/apicdef.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 apicdef.h
--- linux-2.4.20-rc1-ac4/include/asm-i386/apicdef.h 18 Nov 2002 01:38:42 -0000 1.1.1.1
+++ linux-2.4.20-rc1-ac4/include/asm-i386/apicdef.h 25 Nov 2002 19:30:45 -0000
@@ -115,7 +115,7 @@
#ifdef CONFIG_MULTIQUAD
#define MAX_IO_APICS 32
#else
-#define MAX_IO_APICS 8
+#define MAX_IO_APICS 1
#endif

#define APIC_BROADCAST_ID_XAPIC 0xFF
Index: linux-2.4.20-rc1-ac4/arch/i386/kernel/mpparse.c
===================================================================
RCS file: /build/cvsroot/linux-2.4.20-rc1-ac4/arch/i386/kernel/mpparse.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mpparse.c
--- linux-2.4.20-rc1-ac4/arch/i386/kernel/mpparse.c 18 Nov 2002 01:39:49 -0000 1.1.1.1
+++ linux-2.4.20-rc1-ac4/arch/i386/kernel/mpparse.c 25 Nov 2002 19:46:59 -0000
@@ -299,7 +299,7 @@
if (nr_ioapics >= MAX_IO_APICS) {
printk("Max # of I/O APICs (%d) exceeded (found %d).\n",
MAX_IO_APICS, nr_ioapics);
- panic("Recompile kernel with bigger MAX_IO_APICS!.\n");
+ return;
}
if (!m->mpc_apicaddr) {
printk(KERN_ERR "WARNING: bogus zero I/O APIC address"

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/