From owner-freebsd-bugs Wed Oct 20 12:20: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A310314CED for ; Wed, 20 Oct 1999 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA03389; Wed, 20 Oct 1999 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id 2944614A09 for ; Wed, 20 Oct 1999 12:14:10 -0700 (PDT) (envelope-from kbyanc@kronos.alcnet.com) Received: (from kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) id PAA37241; Wed, 20 Oct 1999 15:14:10 -0400 (EDT) Message-Id: <199910201914.PAA37241@kronos.alcnet.com> Date: Wed, 20 Oct 1999 15:14:10 -0400 (EDT) From: kbyanc@posi.net Reply-To: kbyanc@posi.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/14440: update to identcpu.c to "support" AMD K7's Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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