Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 00:35:31 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        be_works_us <be_works_us@yahoo.com>
Cc:        freebsd-i386@freebsd.org
Subject:   Re: i386/119491: [i386] [patch] [request] padlock enable for new VIA C7 (CentaurHauls) cpuid 0x6d0
Message-ID:  <200802270035.31617.jhb@freebsd.org>
In-Reply-To: <418265.66662.qm@web58613.mail.re3.yahoo.com>
References:  <418265.66662.qm@web58613.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 26 February 2008 11:26:28 pm be_works_us wrote:
> Thanks jhb.
> 
> 
> I seem ,
> 
> +   goto via_common;
> +  case 0x6d0:
> +   strcpy(cpu_model, "VIA C7 Eden");
> the name of "VIA C7 Eden" is confusing.
> (Eden is a platform name?)
> 
> "http://www.via.com.tw/en/products/processors/c7/"
>  says new C7 processor is "VIA C7 Esther C5J".

Its not clear if the Esther C5J is the 0x6a0 that was already supported or the 
0x6d0 that is this new CPU.  I couldn't find any docs that explain the CPUID 
steppings for VIA CPUs, do you know of any?

> And ,
> I want you to add correct cpu support flags on the /src/share/mk/bsd.cpu.mk
> 
> i.e.
> 
> MACHINE_CPU = k5 i586 i486 i386
> .  elif ${CPUTYPE} == "c3"
> MACHINE_CPU = 3dnow mmx i586 i486 i386
> .  elif ${CPUTYPE} == "c3-2"
> MACHINE_CPU = sse mmx i586 i486 i386
> /* new support for VIA Esther C5J */
> .  elif ${CPUTYPE} == "c5j"
> MACHINE_CPU = sse3 sse2 sse mmx i686 i586 i486 i386
> 
> 
> if you can do it.

Seemingly this should be for 'c7' rather than 'c5j'?  We use 'c3' for the VIA 
C3 Nehemiah rather than 'c5p'.

-- 
John Baldwin



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