Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 00:52:20 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184104 - head/sys/i386/cpufreq
Message-ID:  <200810210052.m9L0qKlV084870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Oct 21 00:52:20 2008
New Revision: 184104
URL: http://svn.freebsd.org/changeset/base/184104

Log:
  Do not use PowerNow! if FID or VID is missing.

Modified:
  head/sys/i386/cpufreq/powernow.c

Modified: head/sys/i386/cpufreq/powernow.c
==============================================================================
--- head/sys/i386/cpufreq/powernow.c	Tue Oct 21 00:44:05 2008	(r184103)
+++ head/sys/i386/cpufreq/powernow.c	Tue Oct 21 00:52:20 2008	(r184104)
@@ -867,7 +867,7 @@ pn_identify(driver_t *driver, device_t p
 {
 	device_t child;
 
-	if ((amd_pminfo & (AMDPM_FID | AMDPM_VID)) == 0)
+	if ((amd_pminfo & AMDPM_FID) == 0 || (amd_pminfo & AMDPM_VID) == 0)
 		return;
 	switch (cpu_id & 0xf00) {
 	case 0x600:



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