mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Simplify messages of Pentium II, Pentium II Xeon, Celeron, Pentium III
and Pentium III Xeon CPUs. If a CPU is one of Pentium II, Pentium II Xeon and Celeron, the message is always "Pentium II/Pentium II Xeon/Celeron". If a CPU is one of Pentium III and Pentium III Xeon, the message is always "Pentium III/Pentium III Xeon".
This commit is contained in:
parent
2e1b2d7571
commit
10d6e4904e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56797
@ -199,23 +199,16 @@ printcpuinfo(void)
|
||||
strcat(cpu_model, "Pentium Pro");
|
||||
break;
|
||||
case 0x30:
|
||||
strcat(cpu_model, "Pentium II");
|
||||
cpu = CPU_PII;
|
||||
break;
|
||||
case 0x50:
|
||||
strcat(cpu_model, "Pentium II/Xeon/Celeron");
|
||||
cpu = CPU_PII;
|
||||
break;
|
||||
case 0x60:
|
||||
strcat(cpu_model, "Pentium II/Celeron");
|
||||
strcat(cpu_model,
|
||||
"Pentium II/Pentium II Xeon/Celeron");
|
||||
cpu = CPU_PII;
|
||||
break;
|
||||
case 0x70:
|
||||
strcat(cpu_model, "Pentium III/Xeon");
|
||||
cpu = CPU_PIII;
|
||||
break;
|
||||
case 0x80:
|
||||
strcat(cpu_model, "Pentium III");
|
||||
strcat(cpu_model,
|
||||
"Pentium III/Pentium III Xeon");
|
||||
cpu = CPU_PIII;
|
||||
break;
|
||||
default:
|
||||
|
@ -199,23 +199,16 @@ printcpuinfo(void)
|
||||
strcat(cpu_model, "Pentium Pro");
|
||||
break;
|
||||
case 0x30:
|
||||
strcat(cpu_model, "Pentium II");
|
||||
cpu = CPU_PII;
|
||||
break;
|
||||
case 0x50:
|
||||
strcat(cpu_model, "Pentium II/Xeon/Celeron");
|
||||
cpu = CPU_PII;
|
||||
break;
|
||||
case 0x60:
|
||||
strcat(cpu_model, "Pentium II/Celeron");
|
||||
strcat(cpu_model,
|
||||
"Pentium II/Pentium II Xeon/Celeron");
|
||||
cpu = CPU_PII;
|
||||
break;
|
||||
case 0x70:
|
||||
strcat(cpu_model, "Pentium III/Xeon");
|
||||
cpu = CPU_PIII;
|
||||
break;
|
||||
case 0x80:
|
||||
strcat(cpu_model, "Pentium III");
|
||||
strcat(cpu_model,
|
||||
"Pentium III/Pentium III Xeon");
|
||||
cpu = CPU_PIII;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user