diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-03-22 16:55:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-03-22 16:55:32 +0000 |
commit | bfcfcc95f91a9ef756b3184426381561b7f4dc23 (patch) | |
tree | 86156fd65b4c74f4b929cb5bcd06ed881f46f591 /sys/dev/isa/itvar.h | |
parent | d0617786c492a05d286defedc41f1cac5a22411d (diff) |
split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar
to how struct proc is handled for ps(1). ok jmc (man page changes)
tested fkr simon, and more suggestions from millert
Diffstat (limited to 'sys/dev/isa/itvar.h')
-rw-r--r-- | sys/dev/isa/itvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/itvar.h b/sys/dev/isa/itvar.h index 509c8e23697..4bd39aa4783 100644 --- a/sys/dev/isa/itvar.h +++ b/sys/dev/isa/itvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: itvar.h,v 1.3 2006/12/23 17:46:39 deraadt Exp $ */ +/* $OpenBSD: itvar.h,v 1.4 2007/03/22 16:55:31 deraadt Exp $ */ /* * Copyright (c) 2003 Julien Bordet <zejames@greyhats.org> @@ -80,8 +80,8 @@ struct it_softc { bus_space_tag_t it_iot; bus_space_handle_t it_ioh; - struct sensor sensors[IT_NUM_SENSORS]; - struct sensordev sensordev; + struct ksensor sensors[IT_NUM_SENSORS]; + struct ksensordev sensordev; u_int numsensors; void (*refresh_sensor_data)(struct it_softc *); |