diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2005-02-20 23:41:20 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2005-02-20 23:41:20 +0000 |
| commit | a47331bb737cae17b7c1db59088a165411853ab6 (patch) | |
| tree | e616353a5944beafae2229bc16a55629d00f927f /sys/dev/cpufreq | |
| parent | 892af6b9305fc64fab960b360942539c29a66014 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cpufreq')
| -rw-r--r-- | sys/dev/cpufreq/ichss.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/cpufreq/ichss.c b/sys/dev/cpufreq/ichss.c index d04c65095e70..1f3194a58495 100644 --- a/sys/dev/cpufreq/ichss.c +++ b/sys/dev/cpufreq/ichss.c @@ -211,12 +211,13 @@ ichss_pci_probe(device_t dev) static int ichss_probe(device_t dev) { - device_t perf_dev; + device_t est_dev, perf_dev; int error, type; /* * If the ACPI perf driver has attached and is not just offering - * info, let it manage things. + * info, let it manage things. Also, if Enhanced SpeedStep is + * available, don't attach. */ perf_dev = device_find_child(device_get_parent(dev), "acpi_perf", -1); if (perf_dev && device_is_attached(perf_dev)) { @@ -224,6 +225,9 @@ ichss_probe(device_t dev) if (error == 0 && (type & CPUFREQ_FLAG_INFO_ONLY) == 0) return (ENXIO); } + est_dev = device_find_child(device_get_parent(dev), "est", -1); + if (est_dev && device_is_attached(est_dev)) + return (ENXIO); device_set_desc(dev, "SpeedStep ICH"); return (-1000); |
