From owner-freebsd-stable Sun Oct 28 6: 7:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by hub.freebsd.org (Postfix) with ESMTP id C94BA37B408; Sun, 28 Oct 2001 06:07:10 -0800 (PST) Received: from vilnya.demon.co.uk ([158.152.19.238]) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 15xqai-000FZy-0X; Sun, 28 Oct 2001 14:07:09 +0000 Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id 6416E2E822; Sun, 28 Oct 2001 14:04:38 +0000 (GMT) Message-ID: <006101c15fb9$ac5d03d0$0504020a@haveblue> From: "cameron grant" To: , , Cc: , , References: Subject: Re: adding athlon xp to bsd.cpu.mk Date: Sun, 28 Oct 2001 14:06:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > What about new Durons based on the Palomino core? The problem is > that as far as I know they have nothing in their name (like XP in > Athlon's case) that distinguishes them from older Durons based on > the Thunderbird core, while they do support SSE in addition to > 3DNow and MMX. Perhaps it would be better to introduce new variable > CPUCORE, so the user could use something like the following: from what i can see, identcpu.c fetches the cpu name using a cpuid instruction. my system with dual 1.1ghz durons identifies as: CPU: AMD Duron(tm) MP Processor (1110.94-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x670 Stepping = 0 Features=0x383fbff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> the entire "AMD Duron(tm) MP Processor" string appears to originate from the cpu, so i would suggest that the processor is named duron mp. the ident string does not change when booting a non-smp kernel, so unless the cpu is detecting the chipset as dual cpu or the bios is reprogramming the cpu, that is actually what amd have named the 1.0+ghz durons. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message