summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-03-31 13:30:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-03-31 13:30:26 +0000
commit3e89b73f693848c47b864e26d1952b996e05e24e (patch)
tree603cf2f72c9424e5600d253165c17bcc720c0114 /sys/dev/i2c
parent60311524ae199ea82ff765f65612b15380b5dfd3 (diff)
Unbreak the build on amd64 by making sure that inteldrm pulls in the generic
i2c bit-banging code. Requires us to move around the i2c_bitbang define. Also move the onewire_bitbang define to be close to i2c_bitbang since they are similar. ok jsing@
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/files.i2c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c
index 6aaa6ea20f4..aec54a21a73 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,13 +1,13 @@
-# $OpenBSD: files.i2c,v 1.50 2011/07/03 21:30:20 kettenis Exp $
+# $OpenBSD: files.i2c,v 1.51 2013/03/31 13:30:24 kettenis 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
#