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
John Baldwin
jhb at FreeBSD.org
Mon Mar 10 22:18:07 UTC 2008
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
More information about the cvs-src
mailing list