From owner-freebsd-i386@FreeBSD.ORG Fri Apr 26 16:50:02 2013 Return-Path: Delivered-To: freebsd-i386@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 36718738 for ; Fri, 26 Apr 2013 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 28F381271 for ; Fri, 26 Apr 2013 16:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3QGo2iv031238 for ; Fri, 26 Apr 2013 16:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3QGo20h031237; Fri, 26 Apr 2013 16:50:02 GMT (envelope-from gnats) Date: Fri, 26 Apr 2013 16:50:02 GMT Message-Id: <201304261650.r3QGo20h031237@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org Cc: From: Andre Albsmeier Subject: Re: i386/145718: [est] [patch] fix freq calculation from MSR for CPUs with fractional multipliers X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Andre Albsmeier List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2013 16:50:02 -0000 The following reply was made to PR i386/145718; it has been noted by GNATS. From: Andre Albsmeier To: bug-followup@FreeBSD.org, Andre.Albsmeier@siemens.com Cc: Subject: Re: i386/145718: [est] [patch] fix freq calculation from MSR for CPUs with fractional multipliers Date: Fri, 26 Apr 2013 18:34:30 +0200 And another additional patch to make this work with an E6600 CPU (266 MHz clock). While we are here, fix the unit of the voltage as well (Mv -> mV). --- est.c.ORI 2013-04-26 18:30:02.000000000 +0200 +++ est.c 2013-04-26 18:30:02.000000000 +0200 @@ -1192,6 +1192,7 @@ switch (bus) { case 100: case 133: + case 267: case 333: return (1); default: @@ -1252,7 +1253,7 @@ fp[0].volts = volts; fp[0].id16 = id; fp[0].power = CPUFREQ_VAL_UNKNOWN; - device_printf(dev, "Guessed high setting of %d MHz @ %d Mv\n", freq, + device_printf(dev, "Guessed high setting of %d MHz @ %d mV\n", freq, volts); /* Second, the low frequency. */ @@ -1269,7 +1270,7 @@ fp[1].volts = volts; fp[1].id16 = id; fp[1].power = CPUFREQ_VAL_UNKNOWN; - device_printf(dev, "Guessed low setting of %d MHz @ %d Mv\n", freq, + device_printf(dev, "Guessed low setting of %d MHz @ %d mV\n", freq, volts); /* Table is already terminated due to M_ZERO. */