diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-01 21:40:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-01 21:40:50 +0000 |
commit | 59dcae1e0128e7bebf63bdf1d6cb852a0cf6a509 (patch) | |
tree | b724b47073fb8d1491458c56d52cbdbd696e2c1a /etc/etc.mvme68k | |
parent | a1c26a0a8ac1138d2326c1b8cd8217a879778127 (diff) |
Support for MVME165 board - code written in april 2006, eventually debugged
last month.
Diffstat (limited to 'etc/etc.mvme68k')
-rw-r--r-- | etc/etc.mvme68k/MAKEDEV.md | 13 | ||||
-rw-r--r-- | etc/etc.mvme68k/ttys | 4 |
2 files changed, 15 insertions, 2 deletions
diff --git a/etc/etc.mvme68k/MAKEDEV.md b/etc/etc.mvme68k/MAKEDEV.md index 21088546e7c..83d871d0db6 100644 --- a/etc/etc.mvme68k/MAKEDEV.md +++ b/etc/etc.mvme68k/MAKEDEV.md @@ -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) diff --git a/etc/etc.mvme68k/ttys b/etc/etc.mvme68k/ttys index 45a6d3d5ff0..686bb26443e 100644 --- a/etc/etc.mvme68k/ttys +++ b/etc/etc.mvme68k/ttys @@ -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 |