From kimoto@eterna.earthlight.jp  Thu Aug 14 04:24:32 2003
Return-Path: <kimoto@eterna.earthlight.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9DE2A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Aug 2003 04:24:32 -0700 (PDT)
Received: from eterna.earthlight.jp (27.117.138.210.xn.2iij.net [210.138.117.27])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 935E943FBD
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Aug 2003 04:24:31 -0700 (PDT)
	(envelope-from kimoto@eterna.earthlight.jp)
Received: from eterna.earthlight.jp (localhost.earthlight.jp [127.0.0.1])
	by eterna.earthlight.jp (8.12.8p1/8.12.8) with ESMTP id h7EBOUtC000966
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Aug 2003 20:24:30 +0900 (JST)
	(envelope-from kimoto@eterna.earthlight.jp)
Received: (from root@localhost)
	by eterna.earthlight.jp (8.12.8p1/8.12.8/Submit) id h7EBOTnW000965;
	Thu, 14 Aug 2003 20:24:29 +0900 (JST)
Message-Id: <200308141124.h7EBOTnW000965@eterna.earthlight.jp>
Date: Thu, 14 Aug 2003 20:24:29 +0900 (JST)
From: Masahiko KIMOTO <kimoto@ohnolab.org>
Reply-To: Masahiko KIMOTO <kimoto@ohnolab.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Some names of VIA C3 processers are recognized correctly.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55578
>Category:       i386
>Synopsis:       Some names of VIA C3 processers are recognized correctly.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 14 04:30:09 PDT 2003
>Closed-Date:    Thu Aug 14 09:31:51 MDT 2003
>Last-Modified:  Thu Aug 14 09:31:51 MDT 2003
>Originator:     Masahiko KIMOTO
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Soum corporation
>Environment:
System: FreeBSD eterna.earthlight.jp 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Thu Aug 14 12:58:16 JST 2003 root@eterna.earthlight.jp:/usr/src/sys.4.8-release/compile/ETERNA i386

	VIA C3 Nehemiah, etc..

>Description:
	There are various VIA C3 processers, but current FreeBSD can
	recognize only a few of them correctly at boot time.

>How-To-Repeat:
	Always at boot time.
>Fix:
	Please apply the following patch to src/sys/i386/i386/identcpu.c

*** identcpu.c.orig	Thu Aug 14 19:56:41 2003
--- identcpu.c	Thu Aug 14 19:59:29 2003
***************
*** 522,529 ****
--- 522,547 ----
  		case 0x580:
  			strcpy(cpu_model, "IDT WinChip 2");
  			break;
+ 		case 0x660:
+ 		case 0x662:
+ 		case 0x663:
+ 			strcpy(cpu_model, "VIA C3 Samuel");
+ 			break;
  		case 0x670:
+ 		case 0x671:
+ 		case 0x672:
  			strcpy(cpu_model, "VIA C3 Samuel 2");
+ 			break;
+ 		case 0x678:
+ 		case 0x67a:
+ 			strcpy(cpu_model, "VIA C3 Ezra");
+ 			break;
+ 		case 0x689:
+ 			strcpy(cpu_model, "VIA C3 Ezra-T");
+ 			break;
+ 		case 0x691:
+ 		case 0x693:
+ 			strcpy(cpu_model, "VIA C3 Nehemiah");
  			break;
  		default:
  			strcpy(cpu_model, "VIA/IDT Unknown");


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Thu Aug 14 09:31:26 MDT 2003 
State-Changed-Why:  
Patch looked good, committed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=55578 
>Unformatted:
