Browse Source

Support for MVME165 board - code written in april 2006, eventually debugged

last month.
OPENBSD_4_6
miod 16 years ago
parent
commit
78af7f0203
2 changed files with 15 additions and 2 deletions
  1. +12
    -1
      src/etc/etc.mvme68k/MAKEDEV.md
  2. +3
    -1
      src/etc/etc.mvme68k/ttys

+ 12
- 1
src/etc/etc.mvme68k/MAKEDEV.md View File

@ -1,6 +1,6 @@
define(MACHINE,mvme68k)dnl
vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.22 2009/01/25 17:30:48 miod Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.23 2009/03/01 21:40:49 miod Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
@ -57,6 +57,15 @@ _mkdev(cl, {-tty0*-}, {-u=${i#tty0*}
;;
*) echo unknown tty device $i ;;
esac-})dnl
__devitem(ttyd, ttyd*, MC68681 serial ports,nothing)dnl
_mkdev(ttyd, {-ttyd[01]-}, {-u=${i#ttyd*}
case $u in
0|1)
M ttyd$u c major_ttyd_c $u 660 dialer uucp
M cuad$u c major_ttyd_c Add($u, 128) 660 dialer uucp
;;
*) echo unknown tty device $i ;;
esac-})dnl
__devitem(ttyw, ttyw*, WG CL-CD2400 serial ports,nothing)dnl
_mkdev(ttyw, {-ttyw*-}, {-u=${i#ttyw*}
case $u in
@ -111,6 +120,7 @@ target(all, ccd, 0, 1, 2, 3)dnl
twrget(all, mvme_tzs, tty, a, b, c, d)dnl
twrget(all, mvme_czs, cua, a, b, c, d)dnl
twrget(all, cl, tty0, 0, 1, 2, 3)dnl
target(all, ttyd, 0, 1)dnl
target(all, ttyw, 0, 1, 2, 3)dnl
dnl target(all, lp, 0)dnl
_DEV(all)
@ -138,6 +148,7 @@ _TITLE(term)
_DEV(mvme_czs, 12)
_DEV(mvme_tzs, 12)
_DEV(cl, 13)
_DEV(ttyd, 14)
_DEV(ttyw, 30)
_TITLE(pty)
_DEV(ptm, 52)


+ 3
- 1
src/etc/etc.mvme68k/ttys View File

@ -1,5 +1,5 @@
#
# $OpenBSD: ttys,v 1.8 2008/01/09 17:39:42 miod Exp $
# $OpenBSD: ttys,v 1.9 2009/03/01 21:40:49 miod Exp $
#
# name getty type status comments
#
@ -14,3 +14,5 @@ tty00 "/usr/libexec/getty std.9600" unknown off secure # 167/17x console
tty01 "/usr/libexec/getty std.9600" unknown off
tty02 "/usr/libexec/getty std.9600" unknown off
tty03 "/usr/libexec/getty std.9600" unknown off
ttyd0 "/usr/libexec/getty std.9600" unknown off secure # 165 console
ttyd1 "/usr/libexec/getty std.9600" unknown off

Loading…
Cancel
Save