Browse Source

Add gpio device nodes.

ok deraadt@
OPENBSD_3_6
grange 20 years ago
parent
commit
1f9c4aa1b1
2 changed files with 6 additions and 2 deletions
  1. +3
    -1
      src/etc/MAKEDEV.common
  2. +3
    -1
      src/etc/etc.i386/MAKEDEV.md

+ 3
- 1
src/etc/MAKEDEV.common View File

@ -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

+ 3
- 1
src/etc/etc.i386/MAKEDEV.md View File

@ -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


Loading…
Cancel
Save