[PATCH] 2.6.8.1 platform update for ES7000

From: Davis, Jason
Date: Fri Aug 27 2004 - 11:17:49 EST


Hi -

This update only applies to Unisys' ES7000 server machines. The patch
adds a OEM id check to verify the current machine running is actually a
Unisys type box before executing the Unisys OEM parser routine. It also
increases the MAX_MP_BUSSES definition from 32 to 256. On the ES7000s,
bus ID numbering can range from 0 to 255. Without the patch, the system
panics if booted with acpi=off.
This patch has been tested and verified on an authentic ES7000 machine.

Thanks,
Jason Davis

diff -Naur linux-2.6.8.1-inc/include/asm-i386/mach-es7000/mach_mpparse.h
linux-2.6.8.1-es7k/include/asm-i386/mach-es7000/mach_mpparse.h
--- linux-2.6.8.1-inc/include/asm-i386/mach-es7000/mach_mpparse.h
2004-08-14 06:54:46.000000000 -0400
+++ linux-2.6.8.1-es7k/include/asm-i386/mach-es7000/mach_mpparse.h
2004-08-26 13:31:46.703952120 -0400
@@ -21,7 +21,8 @@
if (mpc->mpc_oemptr) {
struct mp_config_oemtable *oem_table =
(struct mp_config_oemtable *)mpc->mpc_oemptr;
- return parse_unisys_oem((char *)oem_table,
oem_table->oem_length);
+ if (!strncmp(oem, "UNISYS", 6))
+ return parse_unisys_oem((char *)oem_table,
oem_table->oem_length);
}
return 0;
}

diff -Naur linux-2.6.8.1-inc/include/asm-i386/mach-es7000/mach_mpspec.h
linux-2.6.8.1-es7k/include/asm-i386/mach-es7000/mach_mpspec.h
--- linux-2.6.8.1-inc/include/asm-i386/mach-es7000/mach_mpspec.h
2004-08-14 06:55:09.000000000 -0400
+++ linux-2.6.8.1-es7k/include/asm-i386/mach-es7000/mach_mpspec.h
2004-08-26 11:29:32.074985208 -0400
@@ -3,6 +3,6 @@

#define MAX_IRQ_SOURCES 256

-#define MAX_MP_BUSSES 32
+#define MAX_MP_BUSSES 256

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