Module Name: src Committed By: pgoyette Date: Mon Jun 6 17:49:41 UTC 2011
Modified Files: src/sys/dev/acpi: acpi_tz.c Log Message: Don't set the FVALID_{MAX,MIN} flags since these values are not min/max legal values. The values are alarms limits, and they're already being tracked properly with the flag settings in *props To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/acpi/acpi_tz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/acpi/acpi_tz.c diff -u src/sys/dev/acpi/acpi_tz.c:1.79 src/sys/dev/acpi/acpi_tz.c:1.80 --- src/sys/dev/acpi/acpi_tz.c:1.79 Wed Feb 16 09:05:12 2011 +++ src/sys/dev/acpi/acpi_tz.c Mon Jun 6 17:49:41 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_tz.c,v 1.79 2011/02/16 09:05:12 jruoho Exp $ */ +/* $NetBSD: acpi_tz.c,v 1.80 2011/06/06 17:49:41 pgoyette Exp $ */ /* * Copyright (c) 2003 Jared D. McNeill <jmcne...@invisible.ca> @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.79 2011/02/16 09:05:12 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.80 2011/06/06 17:49:41 pgoyette Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -850,12 +850,10 @@ if (sc->sc_zone.fanmin != ATZ_TMP_INVALID) { *props |= PROP_WARNMIN; limits->sel_warnmin = sc->sc_zone.fanmin; - sc->sc_fan_sensor.flags |= ENVSYS_FVALID_MIN; } if (sc->sc_zone.fanmax != ATZ_TMP_INVALID) { *props |= PROP_WARNMAX; limits->sel_warnmax = sc->sc_zone.fanmax; - sc->sc_fan_sensor.flags |= ENVSYS_FVALID_MAX; } break; }