diff options
author | 2003-11-15 19:33:26 +0000 | |
---|---|---|
committer | 2003-11-15 19:33:26 +0000 | |
commit | f79f48ca72af232748ea40d0ffe2975ab5035a32 (patch) | |
tree | 505dbfa38ad5cb4cb78a53d399ab7953f1814684 | |
parent | diff from andreas@: (diff) | |
download | wireguard-openbsd-f79f48ca72af232748ea40d0ffe2975ab5035a32.tar.xz wireguard-openbsd-f79f48ca72af232748ea40d0ffe2975ab5035a32.zip |
recognize AMD Opteron, Athlon64 and Athlon64FX as 686-class CPU
diff from Chris Timmons <ChrisT@computar.ca> and jaimie@camerarepair.com
with minor adjustments by me
ok millert@
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 0093d518613..103f5e36af3 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.250 2003/11/15 19:27:50 henning Exp $ */ +/* $OpenBSD: machdep.c,v 1.251 2003/11/15 19:33:26 henning Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -807,6 +807,49 @@ const struct cpu_cpuid_nameclass i386_cpuid_cpus[] = { "K7 (Athlon)" /* Default */ }, NULL + }, + /* Family 7 */ + { + CPUCLASS_686, + } , + /* Family 8 */ + { + CPUCLASS_686, + } , + /* Family 9 */ + { + CPUCLASS_686, + } , + /* Family A */ + { + CPUCLASS_686, + } , + /* Family B */ + { + CPUCLASS_686, + } , + /* Family C */ + { + CPUCLASS_686, + } , + /* Family D */ + { + CPUCLASS_686, + } , + /* Family E */ + { + CPUCLASS_686, + } , + /* Family F */ + { + CPUCLASS_686, + { + 0, 0, 0, 0, "Athlon64", + "Opteron or Athlon64FX", 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + "AMD64" /* DEFAULT */ + }, + NULL } } }, { |