Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Since we're using the active cooling levels as ...
details: https://anonhg.NetBSD.org/src/rev/bc43ed63f0b4
branches: trunk
changeset: 750289:bc43ed63f0b4
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Dec 23 02:29:46 2009 +0000
description:
Since we're using the active cooling levels as warning threshold, we
should store the value in the correct location. We're already setting
the correct flag bit.
Should resolve problem reported by Frank Wille on current-users...
diffstat:
sys/dev/acpi/acpi_tz.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 48e29af7ffba -r bc43ed63f0b4 sys/dev/acpi/acpi_tz.c
--- a/sys/dev/acpi/acpi_tz.c Wed Dec 23 01:15:11 2009 +0000
+++ b/sys/dev/acpi/acpi_tz.c Wed Dec 23 02:29:46 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_tz.c,v 1.50 2009/11/29 18:08:22 uebayasi Exp $ */
+/* $NetBSD: acpi_tz.c,v 1.51 2009/12/23 02:29:46 pgoyette Exp $ */
/*
* Copyright (c) 2003 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.50 2009/11/29 18:08:22 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.51 2009/12/23 02:29:46 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -745,7 +745,7 @@
}
for (i = 0; i < ATZ_NLEVELS; i++) {
if (sc->sc_zone.ac[i] != ATZ_TMP_INVALID) {
- limits->sel_critmax =
+ limits->sel_warnmax =
ATZ2UKELVIN(sc->sc_zone.ac[i]);
limits->sel_flags |= PROP_WARNMAX;
break;
Home |
Main Index |
Thread Index |
Old Index