mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][2.5] static MAX_MP_BUSSES increase for Summit boxes
@ 2003-05-24  3:27 James Cleverdon
  2003-05-24  6:28 ` Christoph Hellwig
  2003-05-26 23:59 ` Alan Cox
  0 siblings, 2 replies; 3+ messages in thread
From: James Cleverdon @ 2003-05-24  3:27 UTC (permalink / raw)
  To: Martin J. Bligh, linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-27  0:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-24  3:27 [PATCH][2.5] static MAX_MP_BUSSES increase for Summit boxes James Cleverdon
2003-05-24  6:28 ` Christoph Hellwig
2003-05-26 23:59 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®