summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-07-09 18:48:52 +0000
committerpatrick <patrick@openbsd.org>2018-07-09 18:48:52 +0000
commite7963e40d25d95e031958372085a27d7aa2dcbef (patch)
tree65abfb1bbb1a34ca8a4dcf7c6a6f1b16ac505e19 /sys/dev/i2c/files.i2c
parentthese pages don;t need Bk/Ek; (diff)
downloadwireguard-openbsd-e7963e40d25d95e031958372085a27d7aa2dcbef.tar.xz
wireguard-openbsd-e7963e40d25d95e031958372085a27d7aa2dcbef.zip
Strip down the (not enabled) pcagpio(4) GPIO extender. This removes
the sensors code and user-controllable GPIO bus attachment but at the same time hooks pcagpio(4) into the OFW GPIO framework so that it can be used by other device tree based drivers. Discussed with deraadt@ ok kettenis@
Diffstat (limited to 'sys/dev/i2c/files.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 10f5bc63fa8..ca43e7ee943 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,4 +1,4 @@
-# $OpenBSD: files.i2c,v 1.60 2018/04/07 18:16:35 kettenis Exp $
+# $OpenBSD: files.i2c,v 1.61 2018/07/09 18:48:52 patrick Exp $
# $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $
define i2c {[addr = -1], [size = -1]}
@@ -70,7 +70,7 @@ attach admtt at i2c
file dev/i2c/adm1031.c admtt
# PCA9554
-device pcagpio: gpiobus
+device pcagpio
attach pcagpio at i2c
file dev/i2c/pca9554.c pcagpio