From owner-svn-src-stable-7@FreeBSD.ORG Fri Nov 26 17:14:38 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F77C10656A3; Fri, 26 Nov 2010 17:14:38 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8DBEB8FC17; Fri, 26 Nov 2010 17:14:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAQHEcn7059702; Fri, 26 Nov 2010 17:14:38 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAQHEce1059700; Fri, 26 Nov 2010 17:14:38 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201011261714.oAQHEce1059700@svn.freebsd.org> From: Andriy Gapon Date: Fri, 26 Nov 2010 17:14:38 +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: r215875 - stable/7/sys/i386/cpufreq X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 17:14:38 -0000 Author: avg Date: Fri Nov 26 17:14:38 2010 New Revision: 215875 URL: http://svn.freebsd.org/changeset/base/215875 Log: MFC r215131: make it possible to actually enable hwpstate_verbose Modified: stable/7/sys/i386/cpufreq/hwpstate.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/i386/cpufreq/hwpstate.c ============================================================================== --- stable/7/sys/i386/cpufreq/hwpstate.c Fri Nov 26 16:24:55 2010 (r215874) +++ stable/7/sys/i386/cpufreq/hwpstate.c Fri Nov 26 17:14:38 2010 (r215875) @@ -117,8 +117,9 @@ static int hwpstate_get_info_from_msr(de static int hwpstate_goto_pstate(device_t dev, int pstate_id); static int hwpstate_verbose = 0; -SYSCTL_INT(_debug, OID_AUTO, hwpstate_verbose, CTLFLAG_RDTUN, +SYSCTL_INT(_debug, OID_AUTO, hwpstate_verbose, CTLFLAG_RW | CTLFLAG_TUN, &hwpstate_verbose, 0, "Debug hwpstate"); +TUNABLE_INT("debug.hwpstate_verbose", &hwpstate_verbose); static device_method_t hwpstate_methods[] = { /* Device interface */