Subject: CVS commit: [netbsd-4] src/sys/arch
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 09/06/2006 21:39:05
Module Name:	src
Committed By:	riz
Date:		Wed Sep  6 21:39:05 UTC 2006

Modified Files:
	src/sys/arch/i386/i386 [netbsd-4]: est.c identcpu.c
	src/sys/arch/i386/include [netbsd-4]: cpu.h
	src/sys/arch/x86/include [netbsd-4]: specialreg.h

Log Message:
Pull up following revision(s) (requested by xtraeme in ticket #111):
	sys/arch/x86/include/specialreg.h: revision 1.11
	sys/arch/i386/i386/identcpu.c: revision 1.39
	sys/arch/i386/include/cpu.h: revision 1.128
	sys/arch/i386/i386/est.c: revision 1.26
Update the enhanced speedstep driver and sync the code with OpenBSD:
est.c:
* Use a quintuplet (vendor, MHz_hi, mV_hi, MHz_lo, mV_lo } to match
  CPUs more correctly than parsing the brand string.
* Add support for a bunch of models.
* Create a fake table on the fly if the CPU is unknown (there's no
  table for it) with the current/highest/lowest frequency.
specialreg.h:
* Add some MSRs needed to get the bus clock value.
identcpu.c:
* Add functions specific to Pentium III, Pentium M and Pentium 4 to
  get the bus clock value.
Note that the new fake table code from Simon Burge is not included on
this commit.
Ok'ed by simonb and dogcow.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.25.2.1 src/sys/arch/i386/i386/est.c
cvs rdiff -r1.36.2.2 -r1.36.2.3 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.125.2.2 -r1.125.2.3 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.9 -r1.9.18.1 src/sys/arch/x86/include/specialreg.h

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