Identify AMD Family 11h. From PR bin/41188 by FUKAUMI Naoki.

This commit is contained in:
jruoho 2011-05-03 09:06:22 +00:00
parent 6e1e04d65f
commit 7b594ad6a4
1 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: i386.c,v 1.24 2011/02/19 13:34:38 jmcneill Exp $ */
/* $NetBSD: i386.c,v 1.25 2011/05/03 09:06:22 jruoho Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@ -57,7 +57,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: i386.c,v 1.24 2011/02/19 13:34:38 jmcneill Exp $");
__RCSID("$NetBSD: i386.c,v 1.25 2011/05/03 09:06:22 jruoho Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -967,6 +967,16 @@ amd_amd64_name(struct cpu_info *ci)
break;
}
break;
case 0x02:
switch (model) {
case 0x03:
ret = "Family 11h";
break;
default:
ret = "Unknown AMD64 CPU";
break;
}
break;
}
return ret;