summaryrefslogtreecommitdiff
path: root/etc/etc.mac68k
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2002-02-14 17:46:16 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2002-02-14 17:46:16 +0000
commit21627bedb01e48b190d1b159750facb3b627afbf (patch)
tree3763f47254edd23a7174098eefc7494b47d04c4c /etc/etc.mac68k
parent42b72c0863b27a0f8c4fbd5e24bbcd4550f696bd (diff)
sync
Diffstat (limited to 'etc/etc.mac68k')
-rw-r--r--etc/etc.mac68k/MAKEDEV36
1 files changed, 13 insertions, 23 deletions
diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV
index 0fb8e3291e9..c3127290aad 100644
--- a/etc/etc.mac68k/MAKEDEV
+++ b/etc/etc.mac68k/MAKEDEV
@@ -3,11 +3,11 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from:
#
-# OpenBSD: etc.mac68k/MAKEDEV.md,v 1.3 2002/02/08 20:26:36 todd Exp
-# OpenBSD: MAKEDEV.mi,v 1.29 2002/02/14 05:38:22 todd Exp
+# OpenBSD: etc.mac68k/MAKEDEV.md,v 1.4 2002/02/14 13:29:20 todd Exp
+# OpenBSD: MAKEDEV.mi,v 1.31 2002/02/14 17:44:38 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.6 2002/02/14 05:50:37 todd Exp
#
-# $OpenBSD: MAKEDEV,v 1.45 2002/02/14 05:55:09 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.46 2002/02/14 17:46:15 todd Exp $
#
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
# All rights reserved.
@@ -250,7 +250,9 @@ xfs*)
;;
ss*)
- M ss$U c 33 $U 440 operator
+ M ss$U c 33 $(($U*16)) 640 operator
+ M nss$U c 33 $(($(($U*16))+1)) 640 operator
+ M enss$U c 33 $(($(($U*16))+3)) 640 operator
RMlist="$RMlist scan$U"
MKlist="$MKlist;umask 77;ln -s ss$U scan$U"
;;
@@ -293,29 +295,17 @@ bpf*)
;;
pty*)
- case $U in
- 0) off=0 name=p;;
- 1) off=16 name=q;;
- 2) off=32 name=r;;
- 3) off=48 name=s;;
- 4) off=64 name=t;;
- 5) off=80 name=u;;
- 6) off=96 name=v;;
- 7) off=112 name=w;;
- 8) off=128 name=x;;
- 9) off=144 name=y;;
- 10) off=160 name=z;;
- 11) off=176 name=P;;
- 12) off=192 name=Q;;
- 13) off=206 name=R;;
- 14) off=224 name=S;;
- 15) off=240 name=T;;
- *) echo bad unit for pty in: $i; continue;;
- esac
+ if [ $U -gt 15 ]; then
+ echo bad unit for pty in: $i
+ continue
+ fi
+ set -A tbl p q r s t u v w x y z P Q R S T
+ name=${tbl[$U]}
n=0
while [ $n -lt 16 ]
do
nam=$name$(hex $n)
+ off=$(($U*16))
M tty$nam c 4 $(($off+$n))
M pty$nam c 5 $(($off+$n))
n=$(($n+1))