diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-12 07:25:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-12 07:25:13 +0000 |
commit | 09d6898964e46ddd68388a50e8363b1a7d74d77a (patch) | |
tree | 7573a5d49512a86566a5f99deabba4a093cece84 | |
parent | ce1d73cdded1b7c6cf8cf01a10068b4cbded384d (diff) |
IDT WinChip models; wd@ics.nara-wu.ac.jp
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 37 | ||||
-rw-r--r-- | sys/arch/i386/include/cputypes.h | 3 |
2 files changed, 38 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 388eacf7dc2..1d73c8c2bab 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.110 1999/08/04 23:17:40 niklas Exp $ */ +/* $OpenBSD: machdep.c,v 1.111 1999/08/12 07:25:12 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -768,6 +768,41 @@ struct cpu_cpuid_nameclass i386_cpuid_cpus[] = { }, NULL } } + }, + { + "CentaurHauls", + CPUVENDOR_IDT, + "IDT", + /* Family 4, not yet available from IDT */ + { { + CPUCLASS_486, + { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + "486 class" /* Default */ + }, + NULL + }, + /* Family 5 */ + { + CPUCLASS_586, + { + 0, 0, 0, 0, "WinChip C6", 0, 0, 0, + "WinChip 2", "WinChip 3", 0, 0, 0, 0, 0, 0, + "WinChip" /* Default */ + }, + NULL + }, + /* Family 6, not yet available from IDT */ + { + CPUCLASS_686, + { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + "686 class" /* Default */ + }, + NULL + } } } }; diff --git a/sys/arch/i386/include/cputypes.h b/sys/arch/i386/include/cputypes.h index fe434ab40de..e4badbbf93f 100644 --- a/sys/arch/i386/include/cputypes.h +++ b/sys/arch/i386/include/cputypes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cputypes.h,v 1.3 1997/12/17 08:54:51 downsj Exp $ */ +/* $OpenBSD: cputypes.h,v 1.4 1999/08/12 07:25:12 deraadt Exp $ */ /* $NetBSD: cputypes.h,v 1.10 1997/10/18 04:51:03 mikel Exp $ */ /* @@ -64,6 +64,7 @@ #define CPUVENDOR_CYRIX 1 #define CPUVENDOR_NEXGEN 2 #define CPUVENDOR_AMD 3 +#define CPUVENDOR_IDT 4 /* * Some other defines, dealing with values returned by cpuid. |