Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/cpuctl/arch - add newer VIA C7 core and VIA Nano.



details:   https://anonhg.NetBSD.org/src/rev/b98692bf3b63
branches:  trunk
changeset: 747787:b98692bf3b63
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Oct 02 13:54:01 2009 +0000

description:
- add newer VIA C7 core and VIA Nano.
- when printing an unknown VIA CPU, default to 'Unknown IDT/VIA' instead of 'C3'

diffstat:

 usr.sbin/cpuctl/arch/i386.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r c9186e3cdaeb -r b98692bf3b63 usr.sbin/cpuctl/arch/i386.c
--- a/usr.sbin/cpuctl/arch/i386.c       Fri Oct 02 12:41:38 2009 +0000
+++ b/usr.sbin/cpuctl/arch/i386.c       Fri Oct 02 13:54:01 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i386.c,v 1.19 2009/05/14 20:16:10 pgoyette Exp $       */
+/*     $NetBSD: i386.c,v 1.20 2009/10/02 13:54:01 jmcneill 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.19 2009/05/14 20:16:10 pgoyette Exp $");
+__RCSID("$NetBSD: i386.c,v 1.20 2009/10/02 13:54:01 jmcneill Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -548,8 +548,9 @@
                        {
                                0, 0, 0, 0, 0, 0, "C3 Samuel",
                                "C3 Samuel 2/Ezra", "C3 Ezra-T",
-                               "C3 Nehemiah", "C7 Esther", 0, 0, 0, 0, 0,
-                               "C3"    /* Default */
+                               "C3 Nehemiah", "C7 Esther", 0, 0, "C7 Esther",
+                               0, "VIA Nano",
+                               "Unknown VIA/IDT"       /* Default */
                        },
                        NULL,
                        via_cpu_probe,



Home | Main Index | Thread Index | Old Index