summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-09-04 20:19:22 +0000
committerderaadt <deraadt@openbsd.org>2007-09-04 20:19:22 +0000
commita2f7a99f1ad971bfc86392b4bf0b4f6f377016ad (patch)
tree83627e45253e82fca358d26faebb0aa8521335a0 /sys/dev/i2c/files.i2c
parentRemoved dead code. (diff)
downloadwireguard-openbsd-a2f7a99f1ad971bfc86392b4bf0b4f6f377016ad.tar.xz
wireguard-openbsd-a2f7a99f1ad971bfc86392b4bf0b4f6f377016ad.zip
driver for i2c lm93 sensor; very common on ipmi machines which have i2c
bmc's watching on the shared bus. if you disable ipmi, you might see it pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to violate the i2c bus locking protocol). tested by Alexander Lobodzinski
Diffstat (limited to 'sys/dev/i2c/files.i2c')
-rw-r--r--sys/dev/i2c/files.i2c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c
index bb08971affb..11295d7ffc6 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,4 +1,4 @@
-# $OpenBSD: files.i2c,v 1.36 2006/06/17 04:43:01 drahn Exp $
+# $OpenBSD: files.i2c,v 1.37 2007/09/04 20:19:22 deraadt Exp $
# $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $
define i2c {[addr = -1], [size = -1]}
@@ -19,6 +19,11 @@ device lmtemp
attach lmtemp at i2c
file dev/i2c/lm75.c lmtemp
+# National Semiconductor LM93 sensor
+device lmn
+attach lmn at i2c
+file dev/i2c/lm93.c lmn
+
# National Semiconductor LM87 sensor
device lmenv
attach lmenv at i2c