Browse Source

Correct tty0[0-3] device nodes generation.

OPENBSD_3_2
miod 22 years ago
parent
commit
b9647295d8
2 changed files with 9 additions and 10 deletions
  1. +7
    -8
      src/etc/etc.mvme68k/MAKEDEV.md
  2. +2
    -2
      src/etc/etc.mvme88k/MAKEDEV.md

+ 7
- 8
src/etc/etc.mvme68k/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.5 2002/05/16 21:11:20 miod Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.6 2002/08/21 22:07:43 miod Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2002, Miodrag Vallat. dnl Copyright (c) 2002, Miodrag Vallat.
@ -55,13 +55,12 @@ _mkdev(mvme_czs, cua[a-z], {-u=${i#cua*}
M cua$u c major_mvme_czs_c Add($n, 128) 660 dialer uucp M cua$u c major_mvme_czs_c Add($n, 128) 660 dialer uucp
;; ;;
esac-})dnl esac-})dnl
dnl tty00 not tty0 to prevent description conflict
__devitem(tty00, tty0*, CL-CD2400 serial ports)dnl
_mkdev(tty00, {-tty0*-}, {-u=${i#tty0*}
__devitem(cl, tty0*, CL-CD2400 serial ports)dnl
_mkdev(cl, {-tty0*-}, {-u=${i#tty0*}
case $u in case $u in
0|1|2|3) 0|1|2|3)
M tty0$u c major_tty0_c $u 660 dialer uucp
M cua0$u c major_tty0_c Add($u, 128) 660 dialer uucp
M tty0$u c major_cl_c $u 660 dialer uucp
M cua0$u c major_cl_c Add($u, 128) 660 dialer uucp
;; ;;
*) echo unknown tty device $i ;; *) echo unknown tty device $i ;;
esac-})dnl esac-})dnl
@ -118,7 +117,7 @@ target(all, vnd, 0, 1, 2, 3)dnl
target(all, ccd, 0, 1, 2, 3)dnl target(all, ccd, 0, 1, 2, 3)dnl
twrget(all, mvme_tzs, tty, a, b, c, d)dnl twrget(all, mvme_tzs, tty, a, b, c, d)dnl
twrget(all, mvme_czs, cua, a, b, c, d)dnl twrget(all, mvme_czs, cua, a, b, c, d)dnl
target(all, tty00, 0, 1, 2, 3)dnl
twrget(all, cl, tty0, 0, 1, 2, 3)dnl
target(all, ttyw, 0, 1, 2, 3)dnl target(all, ttyw, 0, 1, 2, 3)dnl
dnl target(all, lp, 0)dnl dnl target(all, lp, 0)dnl
_DEV(all) _DEV(all)
@ -147,7 +146,7 @@ _DEV(rd, 18, 9)
_TITLE(term) _TITLE(term)
_DEV(mvme_tzs, 12) _DEV(mvme_tzs, 12)
_DEV(mvme_czs, 12) _DEV(mvme_czs, 12)
_DEV(tty00, 13)
_DEV(cl, 13)
_DEV(ttyw, 30) _DEV(ttyw, 30)
_TITLE(pty) _TITLE(pty)
_DEV(tty, 4) _DEV(tty, 4)


+ 2
- 2
src/etc/etc.mvme88k/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.4 2002/05/16 21:11:20 miod Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.5 2002/08/21 22:07:44 miod Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2002, Miodrag Vallat. dnl Copyright (c) 2002, Miodrag Vallat.
@ -103,7 +103,7 @@ target(ramd, st, 0, 1)dnl
target(ramd, cd, 0, 1)dnl)dnl target(ramd, cd, 0, 1)dnl)dnl
target(ramd, rd, 0)dnl target(ramd, rd, 0)dnl
twrget(ramd, dart, tty, a)dnl twrget(ramd, dart, tty, a)dnl
twrget(camd, cl, tty0, 0)dnl
twrget(ramd, cl, tty0, 0)dnl
target(ramd, pty, 0)dnl target(ramd, pty, 0)dnl
_DEV(ramd) _DEV(ramd)
dnl dnl


Loading…
Cancel
Save