summaryrefslogtreecommitdiff
path: root/etc/etc.i386
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2002-02-19 21:06:01 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2002-02-19 21:06:01 +0000
commit23b775fab884acb1570160ada54ec6bbe8a517b2 (patch)
tree3cc4166ebcf32ef7fc4ce61a91ec079d2dc0d472 /etc/etc.i386
parenta348e3b8dea1b795968e6bdd80adb64789c1d7b2 (diff)
sync
Diffstat (limited to 'etc/etc.i386')
-rw-r--r--etc/etc.i386/MAKEDEV27
1 files changed, 16 insertions, 11 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index d3fab36b7b1..da94fcab988 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -4,10 +4,10 @@
# generated from:
#
# OpenBSD: etc.i386/MAKEDEV.md,v 1.5 2002/02/17 05:14:30 deraadt 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.121 2002/02/17 05:14:55 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.122 2002/02/19 21:06:00 todd Exp $
#
# Copyright (c) 2001,2002 Todd T. Fries <todd@OpenBSD.org>
# All rights reserved.
@@ -53,7 +53,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
# Pointing devices:
@@ -464,20 +464,25 @@ wskbd*)
M wskbd$U c 67 $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 12 $(( 16#$U )) 600;;
- cfg) M ttyCcfg c 12 255 600;;
+ [0-9a-f]) M tty$n$U c 12 $(( 16#$U + $m )) 600;;
+ cfg) M tty${n}cfg c 12 $((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
;;
rd*)