summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/MAKEDEV.common4
-rw-r--r--etc/etc.i386/MAKEDEV.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common
index b7a136d68ae..075411db583 100644
--- a/etc/MAKEDEV.common
+++ b/etc/MAKEDEV.common
@@ -1,4 +1,4 @@
-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.9 2004/05/30 08:17:17 grange Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.10 2004/06/03 18:36:59 grange Exp $-})dnl
divert(1)dnl
dnl
dnl Common device definitions.
@@ -550,4 +550,6 @@ __devitem(gpr, gpr*, GPR400 smartcard reader)dnl
_mcdev(gpr, gpr*, gpr, {-major_gpr_c-})dnl
__devitem(hotplug, hotplug, devices hot plugging)dnl
_mkdev(hotplug, hotplug, {-M hotplug c major_hotplug_c $U 400-})dnl
+__devitem(gpio, gpio*, General Purpose Input/Output)dnl
+_mcdev(gpio, gpio*, gpio, {-major_gpio_c-}, 600)dnl
_mkdev(local, local, {-test -s $T.local && sh $T.local-})dnl
diff --git a/etc/etc.i386/MAKEDEV.md b/etc/etc.i386/MAKEDEV.md
index e6b63bc1895..fc7c1f28ef8 100644
--- a/etc/etc.i386/MAKEDEV.md
+++ b/etc/etc.i386/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.24 2004/05/30 08:17:18 grange Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.25 2004/06/03 18:36:59 grange Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@@ -71,6 +71,7 @@ _DEV(bktr, 49)
_DEV(bpf, 23)
_DEV(cry, 70)
_DEV(fdesc, 22)
+_DEV(gpio, 83)
_DEV(gpr, 80)
_DEV(hotplug, 82)
_DEV(iop, 75)
@@ -126,6 +127,7 @@ target(all, sd, 0, 1, 2, 3, 4)dnl
target(all, vnd, 0, 1, 2, 3)dnl
target(all, ccd, 0, 1, 2, 3)dnl
target(all, bktr, 0)dnl
+target(all, gpio, 0, 1, 2)dnl
target(ramd, tty0, 0, 1, 2, 3)dnl
twrget(ramd, wsdisp, ttyC, 0)dnl
target(ramd, wt, 0)dnl