summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-01-12 21:02:48 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-01-12 21:02:48 +0000
commit8cadb53d949b791acb70c3a1cd45172354e56267 (patch)
tree066f6dd754a12d92e9dc5ae4824c744e81321d7d /etc
parentd8776e8290df77e32a6ce83212c5c8f38bdcedef (diff)
sync
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.sparc/MAKEDEV37
1 files changed, 18 insertions, 19 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index de865ae4463..ae2883065f0 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -3,11 +3,11 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from:
#
-# OpenBSD: etc.sparc/MAKEDEV.md,v 1.1 2002/01/08 06:00:15 todd Exp
+# OpenBSD: etc.sparc/MAKEDEV.md,v 1.2 2002/01/12 21:02:03 jason Exp
# OpenBSD: MAKEDEV.mi,v 1.16 2002/01/08 06:00:15 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.4 2002/01/07 06:54:10 todd Exp
#
-# $OpenBSD: MAKEDEV,v 1.71 2002/01/08 06:32:16 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.72 2002/01/12 21:02:47 jason Exp $
#
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
# All rights reserved.
@@ -216,41 +216,40 @@ std)
;;
magma*)
- if [ 0$U -gt 3 ]
- then
- echo "bad unit for $i: $U"
- exit 127
- fi
+ case $U in
+ 0) offset=0 nam=m;;
+ 1) offset=16 nam=n;;
+ 2) offset=32 nam=o;;
+ *) echo "bad unit for $i: $U"; exit 127;;
+ esac
offset=$(($U*64))
n=0
while [ $n -lt 16 ]
do
- name=$U`hex $n`
+ name=${nam}`hex $n`
M tty$name c 100 $(($offset+$n))
n=$(($n+1))
done
- M bpp${unit}0 c 101 $(($offset+0))
- M bpp${unit}1 c 101 $(($offset+1))
+ M bpp${nam}0 c 101 $(($offset+0))
+ M bpp${nam}1 c 101 $(($offset+1))
;;
-magma*)
+spif*)
case $U in
- 0) offset=0 nam=m;;
- 1) offset=16 nam=n;;
- 2) offset=32 nam=o;;
- 3) offset=48 nam=p;;
+ 0) offset=0 nam=j;;
+ 1) offset=16 nam=k;;
+ 2) offset=32 nam=l;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 16 ]
do
- name=$U`hex $n`
- M tty$name c 100 $(($offset+$n))
+ name=${nam}`hex $n`
+ M tty$name c 102 $(($offset+$n))
n=$(($n+1))
done
- M bppm${unit} c 101 $(($offset+0))
- M bppm${unit} c 101 $(($offset+1))
+ M bpp${nam}0 c 103 $(($offset+0))
;;
ses*)