From owner-cvs-src@FreeBSD.ORG Wed Aug 13 16:10:26 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC5D91065678; Wed, 13 Aug 2008 16:10:26 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D5DC38FC16; Wed, 13 Aug 2008 16:10:26 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7DGAQAM062046; Wed, 13 Aug 2008 16:10:26 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7DGAQpe062045; Wed, 13 Aug 2008 16:10:26 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200808131610.m7DGAQpe062045@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 13 Aug 2008 16:09:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 16:10:27 -0000 jhb 2008-08-13 16:09:40 UTC FreeBSD src repository Modified files: sys/dev/cpufreq ichss.c sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Log: SVN rev 181691 on 2008-08-13 16:09:40Z by jhb Attach the cpufreq child devices with specific orders to enforce relative priority of some of the drivers that manage the same state (e.g. ichss0 vs est0). Specifically, powernow, est, and p4tcc are added at order 10, ichss at order 20, and smist at order 30. Previously, some laptops were seeing both ichss0 and est0 attaching and stomping on each other. XXX: This isn't quite ideal, but works with the existing hacks, I think what we really want instead is a single "speedstep0" device for CPUs that the ichss, est, and smist drivers probe (but with differing priorities). MFC after: 1 week Revision Changes Path 1.12 +1 -1 src/sys/dev/cpufreq/ichss.c 1.18 +1 -1 src/sys/i386/cpufreq/est.c 1.17 +1 -1 src/sys/i386/cpufreq/p4tcc.c 1.5 +1 -1 src/sys/i386/cpufreq/powernow.c 1.3 +1 -1 src/sys/i386/cpufreq/smist.c