Commit 4dcd2e25 authored by Dave Jones's avatar Dave Jones

[PATCH] Missing CPU idents.

Earlier Intel CPUs didn't have the cpuid namestring feature,
so we have to look them up in tables..

Fix by Patrick Mochel.
parent cd03e0b9
......@@ -232,15 +232,19 @@ static void __init init_intel(struct cpuinfo_x86 *c)
if (c->x86 == 6) {
switch (c->x86_model) {
case 5:
if (c->x86_mask == 0) {
if (l2 == 0)
p = "Celeron (Covington)";
if (l2 == 256)
else if (l2 == 256)
p = "Mobile Pentium II (Dixon)";
}
break;
case 6:
if (l2 == 128)
p = "Celeron (Mendocino)";
else if (c->x86_mask == 0 || c->x86_mask == 5)
p = "Celeron-A";
break;
case 8:
......@@ -350,6 +354,26 @@ static struct cpu_dev intel_cpu_dev __initdata = {
[8] "Mobile Pentium MMX"
}
},
{ X86_VENDOR_INTEL, 6,
{
[0] "Pentium Pro A-step",
[1] "Pentium Pro",
[3] "Pentium II (Klamath)",
[4] "Pentium II (Deschutes)",
[5] "Pentium II (Deschutes)",
[6] "Mobile Pentium II",
[7] "Pentium III (Katmai)",
[8] "Pentium III (Coppermine)",
[10] "Pentium III (Cascades)",
[11] "Pentium III (Tualatin)",
}
},
{ X86_VENDOR_INTEL, 15,
{
[1] "Pentium 4 (Unknown)",
[5] "Pentium 4 (Foster)",
}
},
},
c_init: init_intel,
c_identify: generic_identify,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment