Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 06/03/2007 19:32:29
Module Name:	src
Committed By:	xtraeme
Date:		Sun Jun  3 19:32:29 UTC 2007

Modified Files:
	src/sys/arch/amd64/amd64: identcpu.c
	src/sys/arch/i386/i386: identcpu.c
	src/sys/arch/i386/include: cpu.h
	src/sys/arch/x86/conf: files.x86
	src/sys/arch/x86/include: cpuvar.h
Added Files:
	src/sys/arch/x86/x86: est.c intel_busclock.c
Removed Files:
	src/sys/arch/i386/i386: est.c

Log Message:
Make the Enhanced Speedstep driver available for i386 and amd64.
To use it on EM64T CPUs supporting the EST CPUID feature. Note that
some CPUs still don't work with this driver, like Xeon or Pentium 4.

Move the p[34]_get_bus_clock functions into its own file,
intel_busclock.c and remove this code from i386/identcpu.c.

Tested on i386 by myself and amd64 by Tonerre.


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/arch/amd64/amd64/identcpu.c
cvs rdiff -r1.37 -r0 src/sys/arch/i386/i386/est.c
cvs rdiff -r1.65 -r1.66 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.141 -r1.142 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.29 -r1.30 src/sys/arch/x86/conf/files.x86
cvs rdiff -r1.12 -r1.13 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -r0 -r1.1 src/sys/arch/x86/x86/est.c \
    src/sys/arch/x86/x86/intel_busclock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.