[Midnightbsd-cvs] src: ichss.c: Probe CPUs after the PCI hierarchy on i386 and amd64.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Mar 4 22:48:39 EST 2010


Log Message:
-----------
Probe CPUs after the PCI hierarchy on i386 and amd64.  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.

Modified Files:
--------------
    src/sys/dev/cpufreq:
        ichss.c (r1.2 -> r1.3)
        (http://cvsweb.midnightbsd.org/src/sys/dev/cpufreq/ichss.c?r1=1.2&r2=1.3)


More information about the Midnightbsd-cvs mailing list