Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Remove setting of the edata->monitor since ...
details: https://anonhg.NetBSD.org/src/rev/7ca1854e1adb
branches: trunk
changeset: 753013:7ca1854e1adb
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Mar 14 18:04:29 2010 +0000
description:
Remove setting of the edata->monitor since that member no longer exists.
diffstat:
sys/arch/x86/x86/coretemp.c | 5 ++---
sys/arch/x86/x86/ipmi.c | 5 ++---
sys/arch/x86/x86/viac7temp.c | 7 +++----
3 files changed, 7 insertions(+), 10 deletions(-)
diffs (80 lines):
diff -r 034cbcddeeaa -r 7ca1854e1adb sys/arch/x86/x86/coretemp.c
--- a/sys/arch/x86/x86/coretemp.c Sun Mar 14 18:03:15 2010 +0000
+++ b/sys/arch/x86/x86/coretemp.c Sun Mar 14 18:04:29 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coretemp.c,v 1.13 2009/12/03 14:44:12 sborrill Exp $ */
+/* $NetBSD: coretemp.c,v 1.14 2010/03/14 18:04:29 pgoyette Exp $ */
/*-
* Copyright (c) 2007 Juan Romero Pardines.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.13 2009/12/03 14:44:12 sborrill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.14 2010/03/14 18:04:29 pgoyette Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -138,7 +138,6 @@
*/
sc->sc_sensor.units = ENVSYS_STEMP;
sc->sc_sensor.flags = ENVSYS_FMONCRITICAL;
- sc->sc_sensor.monitor = true;
(void)snprintf(sc->sc_sensor.desc, sizeof(sc->sc_sensor.desc),
"%s temperature", device_xname(ci->ci_dev));
diff -r 034cbcddeeaa -r 7ca1854e1adb sys/arch/x86/x86/ipmi.c
--- a/sys/arch/x86/x86/ipmi.c Sun Mar 14 18:03:15 2010 +0000
+++ b/sys/arch/x86/x86/ipmi.c Sun Mar 14 18:04:29 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipmi.c,v 1.43 2010/02/14 23:07:59 pgoyette Exp $ */
+/* $NetBSD: ipmi.c,v 1.44 2010/03/14 18:04:29 pgoyette Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.43 2010/02/14 23:07:59 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.44 2010/03/14 18:04:29 pgoyette Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1877,7 +1877,6 @@
ipmi_s->i_props = 0;
sc->sc_sensor[i].units = ipmi_s->i_envtype;
sc->sc_sensor[i].state = ENVSYS_SINVALID;
- sc->sc_sensor[i].monitor = true;
/*
* Monitor threshold limits in the sensors.
*/
diff -r 034cbcddeeaa -r 7ca1854e1adb sys/arch/x86/x86/viac7temp.c
--- a/sys/arch/x86/x86/viac7temp.c Sun Mar 14 18:03:15 2010 +0000
+++ b/sys/arch/x86/x86/viac7temp.c Sun Mar 14 18:04:29 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: viac7temp.c,v 1.1 2009/10/02 18:50:03 jmcneill Exp $ */
+/* $NetBSD: viac7temp.c,v 1.2 2010/03/14 18:04:29 pgoyette Exp $ */
/*-
* Copyright (c) 2009 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viac7temp.c,v 1.1 2009/10/02 18:50:03 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viac7temp.c,v 1.2 2010/03/14 18:04:29 pgoyette Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -58,8 +58,7 @@
sc = kmem_zalloc(sizeof(struct viac7temp_softc), KM_SLEEP);
sc->sc_sensor.units = ENVSYS_STEMP;
- sc->sc_sensor.flags = 0;
- sc->sc_sensor.monitor = true;
+ sc->sc_sensor.flags = ENVSYS_FMONLIMITS;
strlcpy(sc->sc_sensor.desc, "temperature",
sizeof(sc->sc_sensor.desc));
Home |
Main Index |
Thread Index |
Old Index