From owner-cvs-src@FreeBSD.ORG Mon Mar 10 22:18:07 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 B73111065671; Mon, 10 Mar 2008 22:18:07 +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 8DA858FC16; Mon, 10 Mar 2008 22:18:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2AMI7k0054605; Mon, 10 Mar 2008 22:18:07 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2AMI7pM054603; Mon, 10 Mar 2008 22:18:07 GMT (envelope-from jhb) Message-Id: <200803102218.m2AMI7pM054603@repoman.freebsd.org> From: John Baldwin Date: Mon, 10 Mar 2008 22:18:07 +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/amd64/amd64 legacy.c src/sys/dev/acpica acpi.c src/sys/dev/cpufreq ichss.c src/sys/i386/i386 legacy.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: Mon, 10 Mar 2008 22:18:07 -0000 jhb 2008-03-10 22:18:07 UTC FreeBSD src repository Modified files: sys/amd64/amd64 legacy.c sys/dev/acpica acpi.c sys/dev/cpufreq ichss.c sys/i386/i386 legacy.c Log: Probe CPUs after the PCI hierarchy on i386, amd64, and ia64. This allows the cpufreq drivers to reliably use properties of PCI devices for quirks, etc. - For the legacy drivers, add CPU devices via an identify routine in the CPU driver itself rather than in the legacy driver's attach routine. - Add CPU devices after Host-PCI bridges in the acpi bus driver. - Change the ichss(4) driver to use pci_find_bsf() to locate the ICH and check its device ID rather than having a bogus PCI attachment that only checked for the ID in probe and always failed. As a side effect, you can now kldload ichss after boot. - Fix the ichss(4) driver to use the correct device_t for the ICH (and not for ichss0) when doing PCI config space operations to enable SpeedStep. MFC after: 2 weeks Reviewed by: njl, Andriy Gapon avg of icyb.net.ua Revision Changes Path 1.62 +23 -12 src/sys/amd64/amd64/legacy.c 1.246 +22 -6 src/sys/dev/acpica/acpi.c 1.11 +50 -61 src/sys/dev/cpufreq/ichss.c 1.64 +23 -12 src/sys/i386/i386/legacy.c