summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_thermal.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-12-31 19:11:19 +0000
committernjl <njl@FreeBSD.org>2003-12-31 19:11:19 +0000
commit20c0379ef3ccd0acf092390659c28caa6bfbdefb (patch)
treeb6466543dead14158034a90f7f0cbc9e0441e70f /sys/dev/acpica/acpi_thermal.c
parent6d0a5af0177f3eea36a5d323f233b9532bcfc410 (diff)
downloadFreeBSD-src-20c0379ef3ccd0acf092390659c28caa6bfbdefb.zip
FreeBSD-src-20c0379ef3ccd0acf092390659c28caa6bfbdefb.tar.gz
Use the appropriate values for the notifies. No change in behavior
since both notifies result in the same function being called. Found by: documenting the code
Diffstat (limited to 'sys/dev/acpica/acpi_thermal.c')
-rw-r--r--sys/dev/acpica/acpi_thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index df704ec..abfe1e2 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -50,8 +50,8 @@ ACPI_MODULE_NAME("THERMAL")
#define TZ_KELVTOC(x) (((x) - TZ_ZEROC) / 10), (((x) - TZ_ZEROC) % 10)
#define TZ_NOTIFY_TEMPERATURE 0x80
-#define TZ_NOTIFY_DEVICES 0x81
-#define TZ_NOTIFY_LEVELS 0x82
+#define TZ_NOTIFY_LEVELS 0x81
+#define TZ_NOTIFY_DEVICES 0x82
/* Check for temperature changes every 30 seconds by default */
#define TZ_POLLRATE 30
OpenPOWER on IntegriCloud