diff options
author | njl <njl@FreeBSD.org> | 2005-02-22 06:31:45 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-02-22 06:31:45 +0000 |
commit | 7cb8584285d7b23026713439d4c82d55c6d92934 (patch) | |
tree | 782565ce37aa8fcc89e980f149e2fb67f53e9cf1 /sys/i386/cpufreq | |
parent | a5596d15387de6beacbfb7c7f96e1e21ce9c2556 (diff) | |
download | FreeBSD-src-7cb8584285d7b23026713439d4c82d55c6d92934.zip FreeBSD-src-7cb8584285d7b23026713439d4c82d55c6d92934.tar.gz |
Support disabling individual cpufreq drivers with hints, e.g.,
hint.ichss.0.disabled="1"
Diffstat (limited to 'sys/i386/cpufreq')
-rw-r--r-- | sys/i386/cpufreq/est.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/cpufreq/est.c b/sys/i386/cpufreq/est.c index 1ae10ff..d40fa4a 100644 --- a/sys/i386/cpufreq/est.c +++ b/sys/i386/cpufreq/est.c @@ -593,6 +593,9 @@ est_probe(device_t dev) device_t perf_dev; uint64_t msr; int error, type; + + if (resource_disabled("est", 0)) + return (ENXIO); /* * If the ACPI perf driver has attached and is not just offering |