aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cpufreq
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-02-22 06:31:45 +0000
committerNate Lawson <njl@FreeBSD.org>2005-02-22 06:31:45 +0000
commit0dc1b976eb96fc6fa7fd78ce27e312385e4b9340 (patch)
tree782565ce37aa8fcc89e980f149e2fb67f53e9cf1 /sys/dev/cpufreq
parentb2948b72e9067eebe45b0eeac03b9d181cf028b3 (diff)
Notes
Diffstat (limited to 'sys/dev/cpufreq')
-rw-r--r--sys/dev/cpufreq/ichss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/cpufreq/ichss.c b/sys/dev/cpufreq/ichss.c
index 1f3194a58495..b8d35421583e 100644
--- a/sys/dev/cpufreq/ichss.c
+++ b/sys/dev/cpufreq/ichss.c
@@ -214,6 +214,9 @@ ichss_probe(device_t dev)
device_t est_dev, perf_dev;
int error, type;
+ if (resource_disabled("ichss", 0))
+ return (ENXIO);
+
/*
* If the ACPI perf driver has attached and is not just offering
* info, let it manage things. Also, if Enhanced SpeedStep is