[PATCH] identifier string for P4 Prescott

From: Chris Lalancette
Date: Mon Aug 30 2004 - 17:05:47 EST


A trivial patch to change the identifier in the kernel from "Unknown CPU [15:3]" to "Pentium 4(tm) Prescott". Although Prescott is not the official name of the chip (I think Intel just decided to go with the P4 name), I do think it is useful to be able to identify this chip separately (given that it has a different core). This is a patch against 2.4.27

(NOTE: please CC me on any correspondence; I am not subscribed to the list)

--- linux-2.4.27/arch/i386/kernel/mpparse.c 2004-08-07 19:26:04.000000000 -0400
+++ linux-2.4.27-crl/arch/i386/kernel/mpparse.c 2004-08-30 17:01:20.000000000 -0400
@@ -137,6 +137,8 @@
return("Pentium 4(tm)");
if (model == 0x02)
return("Pentium 4(tm) XEON(tm)");
+ if (model == 0x03)
+ return("Pentium 4(tm) Prescott");
if (model == 0x0F)
return("Special controller");
}

-
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/