summaryrefslogtreecommitdiff
path: root/sys/scsi/ses.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
commitbfcfcc95f91a9ef756b3184426381561b7f4dc23 (patch)
tree86156fd65b4c74f4b929cb5bcd06ed881f46f591 /sys/scsi/ses.c
parentd0617786c492a05d286defedc41f1cac5a22411d (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/scsi/ses.c')
-rw-r--r--sys/scsi/ses.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/ses.c b/sys/scsi/ses.c
index 0f2adcdad1c..e50009e59fc 100644
--- a/sys/scsi/ses.c
+++ b/sys/scsi/ses.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ses.c,v 1.42 2006/12/23 17:46:39 deraadt Exp $ */
+/* $OpenBSD: ses.c,v 1.43 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -51,7 +51,7 @@ void ses_attach(struct device *, struct device *, void *);
int ses_detach(struct device *, int);
struct ses_sensor {
- struct sensor se_sensor;
+ struct ksensor se_sensor;
u_int8_t se_type;
struct ses_status *se_stat;
@@ -83,7 +83,7 @@ struct ses_softc {
TAILQ_HEAD(, ses_slot) sc_slots;
#endif
TAILQ_HEAD(, ses_sensor) sc_sensors;
- struct sensordev sc_sensordev;
+ struct ksensordev sc_sensordev;
};
struct cfattach ses_ca = {