From owner-svn-src-head@FreeBSD.ORG Tue Oct 21 00:52:21 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D59106566C; Tue, 21 Oct 2008 00:52:21 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 468A48FC1E; Tue, 21 Oct 2008 00:52:21 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9L0qKkS084871; Tue, 21 Oct 2008 00:52:20 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9L0qKlV084870; Tue, 21 Oct 2008 00:52:20 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <200810210052.m9L0qKlV084870@svn.freebsd.org> From: Jung-uk Kim Date: Tue, 21 Oct 2008 00:52:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184104 - head/sys/i386/cpufreq X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 00:52:21 -0000 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: