summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2006-01-13 23:56:46 +0000
committergrange <grange@openbsd.org>2006-01-13 23:56:46 +0000
commit3a4cbe1af0003f0f10a1a69f8238dbeff97a40e8 (patch)
tree771d52cd7a1f177ba09fd74a5c4b3e85fe70353b /sys/dev/i2c/files.i2c
parentsupport i915. adapted from freebsd by Dimitry Andric. does not break (diff)
downloadwireguard-openbsd-3a4cbe1af0003f0f10a1a69f8238dbeff97a40e8.tar.xz
wireguard-openbsd-3a4cbe1af0003f0f10a1a69f8238dbeff97a40e8.zip
Put back i2c bit-banging code, we'll need it soon.
Diffstat (limited to 'sys/dev/i2c/files.i2c')
-rw-r--r--sys/dev/i2c/files.i2c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c
index 3a0b718af89..30a3a46327d 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,12 +1,14 @@
-# $OpenBSD: files.i2c,v 1.26 2006/01/02 19:49:26 miod Exp $
+# $OpenBSD: files.i2c,v 1.27 2006/01/13 23:56:46 grange Exp $
# $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $
define i2c {[addr = -1], [size = -1]}
+define i2c_bitbang
device iic: i2c
attach iic at i2cbus
file dev/i2c/i2c.c iic | i2cbus
file dev/i2c/i2c_exec.c iic | i2cbus
file dev/i2c/i2c_scan.c iic | i2cbus
+file dev/i2c/i2c_bitbang.c i2c_bitbang
#
# I2C client devices