summaryrefslogtreecommitdiff
path: root/etc/etc.sparc64
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2002-01-23 06:18:53 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2002-01-23 06:18:53 +0000
commita2d635d782ec4919bcd781a52a47fcc5e1304c93 (patch)
tree9407936df7b1d93b41920709bff16012db37f75a /etc/etc.sparc64
parent5a34d0e9fffa844b01f3d91235bfd76b114396ef (diff)
tweak mag and spif _DEV entries, add major numbers
magma and spif were moved into MAKEDEV.mi, remove from here
Diffstat (limited to 'etc/etc.sparc64')
-rw-r--r--etc/etc.sparc64/MAKEDEV.md46
1 files changed, 6 insertions, 40 deletions
diff --git a/etc/etc.sparc64/MAKEDEV.md b/etc/etc.sparc64/MAKEDEV.md
index 755d7656ca7..f7201c4348a 100644
--- a/etc/etc.sparc64/MAKEDEV.md
+++ b/etc/etc.sparc64/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.8 2002/01/13 02:06:45 jason Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.9 2002/01/23 06:18:52 todd Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@@ -87,8 +87,10 @@ _DEV(bpf,105)
_DEV(tun,111)
_DEV(lkm,112)
_DEV(rnd,119)
-_DEV(mag)
-_DEV(spif)
+_DEV(mag,71)
+_DEV(bppmag,72)
+_DEV(spif,108)
+_DEV(bppsp,109)
_DEV(cry,75)
dnl
divert(7)dnl
@@ -115,41 +117,5 @@ mouse*)name=${i##mouse-}
$0 $name # make the appropriate device
fi
RMlist="$RMlist mouse"
- MKlist="$MKlist;ln -s $name mouse";;
-
-magma*)
- 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=Mult($U,64)
- n=0
- while [ $n -lt 16 ]
- do
- name=${nam}`hex $n`
- M tty$name c 71 Add($offset,$n) 660 dialer uucp
- n=Add($n,1)
- done
- M bpp${nam}0 c 72 Add($offset,0) 600 wheel root
- M bpp${nam}1 c 72 Add($offset,1) 600 wheel root
- ;;
-
-spif*)
- case $U in
- 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=Mult($U,64)
- n=0
- while [ $n -lt 8 ]
- do
- name=${nam}`hex $n`
- M tty$name c 108 Add($offset,$n) 660 dialer uucp
- n=Add($n,1)
- done
- M bpp${nam}0 c 109 Add($offset,0) 600 wheel root
+ MKlist="$MKlist;ln -s $name mouse"
;;