summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/files.isa
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2006-03-26 20:19:53 +0000
committergrange <grange@openbsd.org>2006-03-26 20:19:53 +0000
commitf1e82ebb030c2a8560d86d8cb6bb8c23a051f715 (patch)
treeb57fab0ee5649ddc5cf2a559c5daef9ef1280504 /sys/dev/isa/files.isa
parentPretty-print addresses on 64-bit architectures; with input and ok deraadt@ (diff)
downloadwireguard-openbsd-f1e82ebb030c2a8560d86d8cb6bb8c23a051f715.tar.xz
wireguard-openbsd-f1e82ebb030c2a8560d86d8cb6bb8c23a051f715.zip
Support for accesing 8-bit ISA I/O throught the gpio(4)
framework. Allows to use stupid GPIO device on the Acrosser AR-B1662 board. Work by form@.
Diffstat (limited to 'sys/dev/isa/files.isa')
-rw-r--r--sys/dev/isa/files.isa7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/isa/files.isa b/sys/dev/isa/files.isa
index 71d74c49453..4bfb490ca32 100644
--- a/sys/dev/isa/files.isa
+++ b/sys/dev/isa/files.isa
@@ -1,4 +1,4 @@
-# $OpenBSD: files.isa,v 1.93 2006/01/28 11:25:17 kettenis Exp $
+# $OpenBSD: files.isa,v 1.94 2006/03/26 20:19:53 grange Exp $
# $NetBSD: files.isa,v 1.21 1996/05/16 03:45:55 mycroft Exp $
#
# Config file and device description for machine-independent ISA code.
@@ -403,6 +403,11 @@ device aps
attach aps at isa
file dev/isa/aps.c aps
+# ISA I/O mapped as GPIO
+device isagpio: gpiobus
+attach isagpio at isa
+file dev/isa/isagpio.c isagpio
+
#
# PCMCIA PCIC (i82365SL and compatibles):
#