From c1d29f5e2db80bcf473f066c90b37dd667231213 Mon Sep 17 00:00:00 2001 From: tsi <> Date: Mon, 28 Aug 2006 21:04:04 +0000 Subject: [PATCH] Extend /dev/tty[C-F]* to /dev/tty[C-J]* on sparc64, and to /dev/tty[C-I]* on sparc. ok miod@ --- src/etc/MAKEDEV.common | 10 +++++++--- src/etc/etc.sparc/MAKEDEV.md | 5 ++++- src/etc/etc.sparc64/MAKEDEV.md | 6 +++++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/etc/MAKEDEV.common b/src/etc/MAKEDEV.common index 84192d1b..d1fa3b8b 100644 --- a/src/etc/MAKEDEV.common +++ b/src/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.28 2006/06/11 10:58:57 mk Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.29 2006/08/28 21:04:04 tsi Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries dnl @@ -337,13 +337,17 @@ target(wscons, wsmouse, 0, 1, 2, 3)dnl _mkdev({-wscons-}, {-wscons-}, {-dnl show_target(wscons)dnl -})dnl -__devitem(wsdisp, ttyC-F*, wscons display devices,wsdisplay)dnl -_mkdev({-wsdisp-}, tty[C-F]*, {-U=${i##tty[C-F]} +__devitem(wsdisp, ttyC-J*, wscons display devices,wsdisplay)dnl +_mkdev({-wsdisp-}, tty[C-J]*, {-U=${i##tty[C-J]} case $i in ttyC*) n=C m=expr(0*256);; ttyD*) n=D m=expr(1*256);; ttyE*) n=E m=expr(2*256);; ttyF*) n=F m=expr(3*256);; + ttyG*) n=G m=expr(4*256);; + ttyH*) n=H m=expr(5*256);; + ttyI*) n=I m=expr(6*256);; + ttyJ*) n=J m=expr(7*256);; esac case $U in [0-9a-f]) M tty$n$U c major_wsdisp_c Add(16#$U, $m) 600;; diff --git a/src/etc/etc.sparc/MAKEDEV.md b/src/etc/etc.sparc/MAKEDEV.md index 1c39c4cc..44d189b7 100644 --- a/src/etc/etc.sparc/MAKEDEV.md +++ b/src/etc/etc.sparc/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.30 2006/04/16 02:49:53 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.31 2006/08/28 21:04:04 tsi Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -141,3 +141,6 @@ target(all, presto, 0)dnl twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl twrget(wscons, wscons, ttyE, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl twrget(wscons, wscons, ttyF, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyG, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyH, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyI, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl diff --git a/src/etc/etc.sparc64/MAKEDEV.md b/src/etc/etc.sparc64/MAKEDEV.md index cc9911fe..35478394 100644 --- a/src/etc/etc.sparc64/MAKEDEV.md +++ b/src/etc/etc.sparc64/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.40 2006/04/16 11:34:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.41 2006/08/28 21:04:04 tsi Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -126,6 +126,10 @@ dnl twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl twrget(wscons, wscons, ttyE, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl twrget(wscons, wscons, ttyF, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyG, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyH, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyI, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl +twrget(wscons, wscons, ttyJ, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl target(all, ccd, 0, 1, 2, 3)dnl target(all, ch, 0)dnl target(all, ss, 0, 1)dnl