Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 1999 15:14:10 -0400 (EDT)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/14440: update to identcpu.c to "support" AMD K7's
Message-ID:  <199910201914.PAA37241@kronos.alcnet.com>

next in thread | raw e-mail | index | archive | help

>Number:         14440
>Category:       i386
>Synopsis:       update to identcpu.c to "support" AMD K7's
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 20 12:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Yancey
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
ALC Communications - http://www.alcnet.com/
>Environment:

  Attached patch applies to (from -current):
$FreeBSD: src/sys/i386/i386/identcpu.c,v 1.77 1999/10/14 13:59:52 kato Exp $

  Also applies to -stable's identcpu.c after applying the patch in i386/14437

>Description:

  identcpu.c doesn't appear to check for K7's processor identification. It is
rumored to recognize the K7 (I don't know, I don't have one; see
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=296945+0+current/freebsd-current)

  In any event, this is a short patch which I feel confident will do the job
(there isn't much to go wrong :) ). Someone with a K7 should check that MTRRs
get enabled and maybe write-allocate too.

  If this patch and i386/14438 are applied, everything about the K7 should
be recognized by FreeBSD.

>How-To-Repeat:
>Fix:

--- identcpu.c.orig	Wed Oct 20 14:54:43 1999
+++ identcpu.c	Wed Oct 20 15:00:00 1999
@@ -299,6 +299,9 @@
 		case 0x590:
 			strcat(cpu_model, "K6-III");
 			break;
+		case 0x610:
+			strcat(cpu_model, "Athlon");
+			break;
 		default:
 			strcat(cpu_model, "Unknown");
 			break;

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910201914.PAA37241>