1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Support the VIA C7 Eden CPU and treat it just like a C7 Esther. We may

want to adjust this code to just assume that all CPUs >= Esther should
be checked for the extended cpuid flags register.

MFC after:	3 days
PR:		i386/119491
This commit is contained in:
John Baldwin 2008-02-25 22:42:33 +00:00
parent e822ea5b2a
commit 23e30a506b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176571
2 changed files with 4 additions and 0 deletions

View File

@ -585,6 +585,9 @@ printcpuinfo(void)
goto via_common;
case 0x6a0:
strcpy(cpu_model, "VIA C7 Esther");
goto via_common;
case 0x6d0:
strcpy(cpu_model, "VIA C7 Eden");
via_common:
do_cpuid(0xc0000000, regs);
i = regs[0];

View File

@ -683,6 +683,7 @@ initializecpu(void)
break;
/* fall through. */
case 0x6a0:
case 0x6d0:
init_via();
break;
default: