Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 21:01:02 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187570 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb i386/cpufreq
Message-ID:  <200901212101.n0LL12Gn091284@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Jan 21 21:01:02 2009
New Revision: 187570
URL: http://svn.freebsd.org/changeset/base/187570

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

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/i386/cpufreq/powernow.c

Modified: stable/7/sys/i386/cpufreq/powernow.c
==============================================================================
--- stable/7/sys/i386/cpufreq/powernow.c	Wed Jan 21 20:57:54 2009	(r187569)
+++ stable/7/sys/i386/cpufreq/powernow.c	Wed Jan 21 21:01:02 2009	(r187570)
@@ -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?200901212101.n0LL12Gn091284>