From 034ff36dce985a0c3fc8368831c38bf29a1a8a40 Mon Sep 17 00:00:00 2001 From: miod <> Date: Fri, 15 Dec 2006 18:59:50 +0000 Subject: [PATCH] Use ttya for the landisk cereal, and update MAKEDEV accordingly; discussed with deraadt@ some time ago --- src/etc/etc.landisk/MAKEDEV.md | 23 ++++++++++++++--------- src/etc/etc.landisk/fbtab | 2 +- src/etc/etc.landisk/ttys | 4 ++-- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/etc/etc.landisk/MAKEDEV.md b/src/etc/etc.landisk/MAKEDEV.md index 59837d64..35608c97 100644 --- a/src/etc/etc.landisk/MAKEDEV.md +++ b/src/etc/etc.landisk/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.1 2006/10/25 01:47:41 drahn Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.2 2006/12/15 18:59:50 miod Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -25,7 +25,13 @@ dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dnl dnl -__devitem(apm, apm, Power management device)dnl +dnl *** landisk specific devices +dnl +__devitem(scif, ttya, on-board serial port,scif)dnl +_mkdev(scif, ttya, {-M ttya major_scif_c 0 660 dialer uucp-})dnl +dnl +dnl *** MAKEDEV itself +dnl _TITLE(make) _DEV(all) _DEV(ramdisk) @@ -43,9 +49,7 @@ _DEV(wd, 16, 16) _TITLE(tap) _DEV(st, 25, 25) _TITLE(term) -dnl _DEV(com, 12) -dnl _DEV(fcom, 54) -_DEV(com, 12) +_DEV(scif, 11) _TITLE(pty) _DEV(ptm, 98) _DEV(pty, 5) @@ -66,14 +70,14 @@ _DEV(urio, 67) _DEV(usb, 64) _DEV(uscan, 69) _TITLE(spec) -_DEV(apm, 34) +dnl _DEV(apm, 34) _DEV(au, 36) _DEV(hotplug, 37) -#_DEV(bktr, 75) +dnl _DEV(bktr, 75) _DEV(bpf, 22) _DEV(cry, 47) _DEV(fdesc, 7) -#_DEV(iop, 73) +dnl _DEV(iop, 73) _DEV(lkm, 35) _DEV(pci, 88) _DEV(pf, 46) @@ -96,8 +100,9 @@ ramdisk) _std(1, 2, 8, 3, 6) ;; dnl -dnl *** armish specific targets +dnl *** landisk specific targets dnl +twrget(all, scif, tty, a)dnl target(all, ch, 0)dnl target(all, ss, 0, 1)dnl target(all, xfs, 0)dnl diff --git a/src/etc/etc.landisk/fbtab b/src/etc/etc.landisk/fbtab index 9216d258..ef2d6ba4 100644 --- a/src/etc/etc.landisk/fbtab +++ b/src/etc/etc.landisk/fbtab @@ -1 +1 @@ -/dev/tty00 0600 /dev/console +/dev/ttya 0600 /dev/console diff --git a/src/etc/etc.landisk/ttys b/src/etc/etc.landisk/ttys index 891516c6..710fb756 100644 --- a/src/etc/etc.landisk/ttys +++ b/src/etc/etc.landisk/ttys @@ -1,7 +1,7 @@ # -# $OpenBSD: ttys,v 1.1 2006/10/25 01:47:41 drahn Exp $ +# $OpenBSD: ttys,v 1.2 2006/12/15 18:59:50 miod Exp $ # # name getty type status comments # console "/usr/libexec/getty Pc" vt220 on secure -tty00 "/usr/libexec/getty std.115200" unknown off secure +ttya "/usr/libexec/getty std.9600" unknown off secure