summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/esm.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/arch/i386/i386/esm.c b/sys/arch/i386/i386/esm.c
index dea5799d643..d778ba9ccd9 100644
--- a/sys/arch/i386/i386/esm.c
+++ b/sys/arch/i386/i386/esm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esm.c,v 1.22 2005/11/30 11:46:57 dlg Exp $ */
+/* $OpenBSD: esm.c,v 1.23 2005/11/30 13:40:33 dlg Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -62,6 +62,22 @@ enum esm_sensor_type {
ESM_S_ACSWITCH
};
+enum sensor_type esm_typemap[] = {
+ SENSOR_INTEGER,
+ SENSOR_INDICATOR,
+ SENSOR_TEMP,
+ SENSOR_FANRPM,
+ SENSOR_VOLTS_DC,
+ SENSOR_AMPS,
+ SENSOR_INTEGER,
+ SENSOR_INTEGER,
+ SENSOR_INDICATOR,
+ SENSOR_INTEGER,
+ SENSOR_INTEGER,
+ SENSOR_INTEGER,
+ SENSOR_INDICATOR
+};
+
struct esm_sensor_map {
enum sensor_type type;
long arg;
@@ -741,22 +757,6 @@ esm_devmap(struct esm_softc *sc, struct esm_devmap *devmap)
esm_make_sensors(sc, devmap, sensor_map, mapsize);
}
-enum sensor_type esm_typemap[] = {
- SENSOR_INTEGER,
- SENSOR_INDICATOR,
- SENSOR_TEMP,
- SENSOR_FANRPM,
- SENSOR_VOLTS_DC,
- SENSOR_AMPS,
- SENSOR_INTEGER,
- SENSOR_INTEGER,
- SENSOR_INDICATOR,
- SENSOR_INTEGER,
- SENSOR_INTEGER,
- SENSOR_INTEGER,
- SENSOR_INDICATOR
-};
-
void
esm_make_sensors(struct esm_softc *sc, struct esm_devmap *devmap,
struct esm_sensor_map *sensor_map, int mapsize)