lkml.org 
[lkml]   [2003]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH][2.5] static MAX_MP_BUSSES increase for Summit boxes
Date
The dynamic MAX_MP_BUSSES fix for v2.4 never made it into 2.5.  x440s with 
RXE100s and 32-way x445s without can easily overflow it.

Here's a static patch:


diff -pru 2.5.69/include/asm-i386/mpspec.h t69/include/asm-i386/mpspec.h
--- 2.5.69/include/asm-i386/mpspec.h Sun May 4 16:52:48 2003
+++ t69/include/asm-i386/mpspec.h Fri May 23 20:17:59 2003
@@ -191,7 +191,13 @@ struct mpc_config_translation
#define MAX_IRQ_SOURCES 256
#endif /* CONFIG_X86_NUMAQ */

+#ifdef CONFIG_X86_SUMMIT
+/* BIOS reserves an amazing number of PCI busses on x440s and x445s,
+ * especially when RXE100s are attached. */
+#define MAX_MP_BUSSES 258
+#else
#define MAX_MP_BUSSES 32
+#endif
enum mp_bustype {
MP_BUS_ISA = 1,
MP_BUS_EISA,

--
James Cleverdon
IBM xSeries Linux Solutions
{jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot com
-
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/

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