diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-11-15 19:33:27 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-11-15 19:33:27 +0000 |
commit | cddfeeb33d85290f5e4c02a26ff4353540464163 (patch) | |
tree | 82d94518782dc022070fad2a79c9ef1d302ec7ee | |
parent | a776d248d9d62c644b7452e865d96e865515e179 (diff) |
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 } } }, { |