diff options
author | kato <kato@FreeBSD.org> | 2002-02-09 05:18:01 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2002-02-09 05:18:01 +0000 |
commit | 86f2eb52e9a3527df83ead52ab0f48bf08088e88 (patch) | |
tree | e670ec721ebee94e0a0bdf6ddce0d2ac0dc16561 /sys/amd64 | |
parent | ac05f93787f37af1d52752519ead773452d7e617 (diff) | |
download | FreeBSD-src-86f2eb52e9a3527df83ead52ab0f48bf08088e88.zip FreeBSD-src-86f2eb52e9a3527df83ead52ab0f48bf08088e88.tar.gz |
Recognize VIA C3 Samuel 2.
MFC after: 3 days
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/identcpu.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index e09e04c..0fd303e 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -476,17 +476,19 @@ printcpuinfo(void) strcat(cpu_model, "Unknown"); } } else if (strcmp(cpu_vendor, "CentaurHauls") == 0) { - strcpy(cpu_model, "IDT "); switch (cpu_id & 0xff0) { case 0x540: - strcat(cpu_model, "WinChip C6"); + strcpy(cpu_model, "IDT WinChip C6"); tsc_is_broken = 1; break; case 0x580: - strcat(cpu_model, "WinChip 2"); + strcpy(cpu_model, "IDT WinChip 2"); + break; + case 0x670: + strcpy(cpu_model, "VIA C3 Samuel 2"); break; default: - strcat(cpu_model, "Unknown"); + strcpy(cpu_model, "VIA/IDT Unknown"); } } else if (strcmp(cpu_vendor, "IBM") == 0) { strcpy(cpu_model, "Blue Lightning CPU"); |