summaryrefslogtreecommitdiff
path: root/etc/etc.sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.sparc64')
-rw-r--r--etc/etc.sparc64/MAKEDEV28
1 files changed, 17 insertions, 11 deletions
diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV
index 9be9ea91f3f..16469150066 100644
--- a/etc/etc.sparc64/MAKEDEV
+++ b/etc/etc.sparc64/MAKEDEV
@@ -4,10 +4,10 @@
# generated from:
#
# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.17 2002/02/14 13:29:21 todd Exp
-# OpenBSD: MAKEDEV.mi,v 1.34 2002/02/17 05:14:30 deraadt Exp
+# OpenBSD: MAKEDEV.mi,v 1.36 2002/02/19 21:05:10 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.7 2002/02/16 01:19:52 deraadt Exp
#
-# $OpenBSD: MAKEDEV,v 1.57 2002/02/17 05:14:55 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.58 2002/02/19 21:06:00 todd Exp $
#
# Copyright (c) 2001,2002 Todd T. Fries <todd@OpenBSD.org>
# All rights reserved.
@@ -51,7 +51,7 @@
# raid* RAIDframe disk devices
# Console ports:
# ttyC0 wscons screen 0
-# ttyC* wscons virtual consoles
+# ttyC-F* wscons virtual consoles
# wskbd* wscons keyboards
# wsmux wscons keyboard/mouse mux devices
# console PROM console
@@ -462,20 +462,26 @@ wskbd*)
M wskbd$U c 79 $U 600
;;
-ttyC*)
- U=${i##ttyC}
+tty[C-F]*)
+ U=${i##tty[C-F]}
+ case $i in
+ ttyC*) n=C m=0;;
+ ttyD*) n=D m=256;;
+ ttyE*) n=E m=512;;
+ ttyF*) n=F m=768;;
+ esac
case $U in
- [0-9a-f]) M ttyC$U c 78 $(( 16#$U )) 600;;
- cfg) M ttyCcfg c 78 255 600;;
+ [0-9a-f]) M tty$n$U c 78 $(( 16#$U + $m )) 600;;
+ cfg) M tty${n}cfg c 78 $((255+$m)) 600;;
*) echo bad unit $U for $i; exit 1;;
esac
;;
wscons)
- R ttyCcfg
- R ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7 ttyC8 ttyC9
- R ttyCa ttyCb wsmux wskbd0 wskbd1 wskbd2 wskbd3
- R wsmouse0 wsmouse1 wsmouse2 wsmouse3
+ R wsmouse0 wsmouse1 wsmouse2 wsmouse3 wskbd0 wskbd1 wskbd2
+ R wskbd3 wsmux ttyCcfg ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5
+ R ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb ttyDcfg ttyD0 ttyD1
+ R ttyD2 ttyD3 ttyD4 ttyD5 ttyD6 ttyD7 ttyD8 ttyD9 ttyDa ttyDb
;;
rd*)