From owner-svn-src-stable@FreeBSD.ORG Wed Jan 21 21:01:03 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E141065674; Wed, 21 Jan 2009 21:01:03 +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 E7F218FC36; Wed, 21 Jan 2009 21:01:02 +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 n0LL12F5091285; Wed, 21 Jan 2009 21:01:02 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0LL12Gn091284; Wed, 21 Jan 2009 21:01:02 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <200901212101.n0LL12Gn091284@svn.freebsd.org> From: Jung-uk Kim Date: Wed, 21 Jan 2009 21:01:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187570 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb i386/cpufreq X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 21:01:04 -0000 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: