summaryrefslogtreecommitdiff
path: root/sys/dev/pci/mbg.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/dev/pci/mbg.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/dev/pci/mbg.c')
-rw-r--r--sys/dev/pci/mbg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c
index f317d4e96c9..a5ba23a4489 100644
--- a/sys/dev/pci/mbg.c
+++ b/sys/dev/pci/mbg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbg.c,v 1.12 2007/01/03 13:27:12 mbalmer Exp $ */
+/* $OpenBSD: mbg.c,v 1.13 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org>
@@ -37,9 +37,9 @@ struct mbg_softc {
bus_space_tag_t sc_iot;
bus_space_handle_t sc_ioh;
- struct sensor sc_timedelta;
- struct sensor sc_signal;
- struct sensordev sc_sensordev;
+ struct ksensor sc_timedelta;
+ struct ksensor sc_signal;
+ struct ksensordev sc_sensordev;
u_int8_t sc_status;
int (*sc_read)(struct mbg_softc *, int cmd,