Browse Source

make /dev/ttya be an alias for /dev/tty00.

we are making the move where ttya will become the zs devices, and tty00
will support com(4) devices. ok drahn
OPENBSD_4_0
deraadt 18 years ago
parent
commit
698d994481
1 changed files with 23 additions and 1 deletions
  1. +23
    -1
      src/etc/etc.macppc/MAKEDEV.md

+ 23
- 1
src/etc/etc.macppc/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.23 2006/03/15 02:20:28 deraadt Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.24 2006/03/27 04:00:02 deraadt Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@ -17,6 +17,22 @@ dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dnl dnl
dnl dnl
__devitem(s64_tzs, tty[a-z]*, Zilog 8530 serial ports,zs)dnl
__devitem(s64_czs, cua[a-z]*, Zilog 8530 serial ports,zs)dnl
_mkdev(s64_tzs, {-tty[a-z]-}, {-u=${i#tty*}
case $u in
a) n=0 ;;
b) n=1 ;;
*) echo unknown tty device $i ;;
esac
M tty$u c major_s64_tzs_c $n 660 dialer uucp-})dnl
_mkdev(s64_czs, cua[a-z], {-u=${i#cua*}
case $u in
a) n=0 ;;
b) n=1 ;;
*) echo unknown cua device $i ;;
esac
M cua$u c major_s64_czs_c Add($n, 128) 660 dialer uucp-})dnl
__devitem(apm, apm, Power management device)dnl __devitem(apm, apm, Power management device)dnl
_TITLE(make) _TITLE(make)
_DEV(all) _DEV(all)
@ -36,6 +52,8 @@ _DEV(ch, 10)
_DEV(st, 20, 5) _DEV(st, 20, 5)
_TITLE(term) _TITLE(term)
_DEV(com, 7) _DEV(com, 7)
_DEV(s64_czs, 7)
_DEV(s64_tzs, 7)
_TITLE(pty) _TITLE(pty)
_DEV(ptm, 77) _DEV(ptm, 77)
_DEV(pty, 5) _DEV(pty, 5)
@ -87,6 +105,8 @@ _std(1, 2, 43, 3, 6)
dnl dnl
dnl *** macppc specific targets dnl *** macppc specific targets
dnl dnl
twrget(all, s64_tzs, tty, a, b, c, d)dnl
twrget(all, s64_czs, cua, a, b, c, d)dnl
target(all, ch, 0)dnl target(all, ch, 0)dnl
target(all, ss, 0, 1)dnl target(all, ss, 0, 1)dnl
target(all, xfs, 0)dnl target(all, xfs, 0)dnl
@ -107,5 +127,7 @@ target(ramd, wd, 0, 1, 2, 3, 4)dnl
target(ramd, st, 0, 1)dnl 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
target(ramd, ttya, 0, 1)dnl
target(ramd, ttyb, 0, 1)dnl
target(ramd, tty0, 0, 1)dnl target(ramd, tty0, 0, 1)dnl
target(ramd, pty, 0)dnl target(ramd, pty, 0)dnl

Loading…
Cancel
Save