diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-02-17 08:17:35 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-02-17 08:17:35 +0000 |
commit | 6b462ffb50f2f519ccc33d11edc9f08386ba9434 (patch) | |
tree | a01bb1d2c56c3f66b90a3c7d12c47a728442e804 /sys/arch/i386 | |
parent | ae6409d0fe46a0f288f32d91e7e6d8e88def3c53 (diff) |
add a comment to explain how to keep things working, remove a stray char
from another comment
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/esm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/esm.c b/sys/arch/i386/i386/esm.c index 17ae61287d0..46822f055d9 100644 --- a/sys/arch/i386/i386/esm.c +++ b/sys/arch/i386/i386/esm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esm.c,v 1.38 2006/02/17 07:22:43 dlg Exp $ */ +/* $OpenBSD: esm.c,v 1.39 2006/02/17 08:17:34 dlg Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -64,6 +64,10 @@ enum esm_sensor_type { ESM_S_ACSWITCH }; +/* + * map esm sensor types to kernel sensor types. + * keep this in sync with the esm_sensor_type enum above. + */ enum sensor_type esm_typemap[] = { SENSOR_INTEGER, SENSOR_INDICATOR, @@ -881,7 +885,7 @@ esm_make_sensors(struct esm_softc *sc, struct esm_devmap *devmap, case ESM_S_PWRSUP: /* * the esm pwrsup sensor has a bitfield for its value, - * this expands it out to 6 separate indicators/ + * this expands it out to 6 separate indicators */ nsensors = 6; s = malloc(sizeof(struct sensor) * nsensors, M_DEVBUF, |