summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_throttle.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpi_throttle.c')
-rw-r--r--sys/dev/acpica/acpi_throttle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_throttle.c b/sys/dev/acpica/acpi_throttle.c
index 4ac5222..40476e0 100644
--- a/sys/dev/acpica/acpi_throttle.c
+++ b/sys/dev/acpica/acpi_throttle.c
@@ -167,6 +167,9 @@ static int
acpi_throttle_probe(device_t dev)
{
+ if (resource_disabled("acpi_throttle", 0))
+ return (ENXIO);
+
/*
* On i386 platforms at least, ACPI throttling is accomplished by
* the chipset modulating the STPCLK# pin based on the duty cycle.
OpenPOWER on IntegriCloud