add qvss/ttyv0; kUmem is tested!
[unix-history] / usr / src / etc / etc.vax / MAKEDEV
index 67ddc24..c1f395d 100644 (file)
@@ -4,7 +4,7 @@
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)MAKEDEV     4.27 (Berkeley) %G%
+#      @(#)MAKEDEV     4.29 (Berkeley) %G%
 #
 # Device "make" file.  Valid arguments:
 #      std     standard devices
 #
 # Device "make" file.  Valid arguments:
 #      std     standard devices
@@ -44,6 +44,8 @@
 #      ps*     unibus interface to e&s picture system 2
 #      ad*     unibus interface to data translation a/d converter
 #      np*     unibus ethernet co-processor interface, for downloading.
 #      ps*     unibus interface to e&s picture system 2
 #      ad*     unibus interface to data translation a/d converter
 #      np*     unibus ethernet co-processor interface, for downloading.
+#      qv*     qvss (microvax) display
+#      ttyv0   qvss (microvax) display reserved pty
 umask 77
 for i
 do
 umask 77
 for i
 do
@@ -56,7 +58,7 @@ std)
        /etc/mknod crl          c 35 0
        /etc/mknod tu0          b 8 0
        /etc/mknod tu1          b 8 1
        /etc/mknod crl          c 35 0
        /etc/mknod tu0          b 8 0
        /etc/mknod tu1          b 8 1
-       /etc/mknod kUmem        c 3 3   ; chmod 600 kUmem ;: untested
+       /etc/mknod kUmem        c 3 3   ; chmod 600 kUmem
        /etc/mknod kmem         c 3 1   ; chmod 640 kmem ; chgrp kmem kmem
        /etc/mknod mem          c 3 0   ; chmod 640 mem ; chgrp kmem mem
        /etc/mknod null         c 3 2   ; chmod 666 null
        /etc/mknod kmem         c 3 1   ; chmod 640 kmem ; chgrp kmem kmem
        /etc/mknod mem          c 3 0   ; chmod 640 mem ; chgrp kmem mem
        /etc/mknod null         c 3 2   ; chmod 666 null
@@ -64,13 +66,12 @@ std)
        /etc/mknod klog         c 33 0  ; chmod 600 klog
        ;;
 
        /etc/mknod klog         c 33 0  ; chmod 600 klog
        ;;
 
-ht*|tm*|ts*|mt*|ut*)
+ht*|tm*|ts*|ut*)
        umask 0 ; unit=`expr $i : '..\(.*\)'`
        case $i in
        ht*) blk=1; chr=5 ;;
        tm*) blk=5; chr=14;;
        ts*) blk=6; chr=16;;
        umask 0 ; unit=`expr $i : '..\(.*\)'`
        case $i in
        ht*) blk=1; chr=5 ;;
        tm*) blk=5; chr=14;;
        ts*) blk=6; chr=16;;
-       mt*) blk=7; chr=19;;
        ut*) blk=10; chr=17;;
        esac
        case $unit in
        ut*) blk=10; chr=17;;
        esac
        case $unit in
@@ -102,6 +103,37 @@ ht*|tm*|ts*|mt*|ut*)
        umask 77
        ;;
 
        umask 77
        ;;
 
+mt*)
+       umask 0 ; unit=`expr $i : '..\(.*\)'`
+       case $i in
+       mt*) blk=7; chr=19;;
+       esac
+       case $unit in
+       0|1|2|3|4|5|6|7)
+               eight=`expr $unit + 0`;
+               twelve=`expr $unit + 4`; 
+               sixteen=`expr $unit + 8`;
+               twenty=`expr $unit + 12`;
+               /etc/mknod mt8          b $blk $eight
+               /etc/mknod mt12         b $blk $twelve
+               /etc/mknod mt16         b $blk $sixteen
+               /etc/mknod mt20         b $blk $twenty
+               /etc/mknod nmt8         b $blk $twelve ;: ditto
+               /etc/mknod nrmt8        c $chr $twelve ;: ditto
+               /etc/mknod rmt8         c $chr $eight
+               /etc/mknod rmt12        c $chr $twelve
+               /etc/mknod rmt16        c $chr $sixteen
+               /etc/mknod rmt20        c $chr $twenty
+               /etc/mknod nmt16        b $blk $twenty ;: ditto
+               /etc/mknod nrmt16       c $blk $twenty ;: ditto
+               ;;
+       *)
+               echo bad unit for tape in: $1
+               ;;
+       esac
+       umask 77
+       ;;
+
 hp*|hk*|up*|ra*|rl*|rb*)
        umask 2 ; unit=`expr $i : '..\(.*\)'`
        case $i in
 hp*|hk*|up*|ra*|rl*|rb*)
        umask 2 ; unit=`expr $i : '..\(.*\)'`
        case $i in
@@ -277,7 +309,7 @@ np*)
        0) offset=0 name=0;;
        1) offset=16 name=1;;
        2) offset=32 name=2;;
        0) offset=0 name=0;;
        1) offset=16 name=1;;
        2) offset=32 name=2;;
-       *) echo bad unit for pty in: $i;;
+       *) echo bad unit for np in: $i;;
        esac
        case $class in
        0|1|2)
        esac
        case $class in
        0|1|2)
@@ -310,6 +342,18 @@ dn*|ik*|ps*|ad*|ct*)
        esac
        ;;
 
        esac
        ;;
 
+qv0)
+       /etc/mknod qv0 c 40 0
+       /etc/mknod qvcons c 40 1
+       /etc/mknod mouse c 40 2
+       ;;
+
+ttyv0)
+       if [ ! -f ttyqf ]; then sh ./MAKEDEV pty1; fi
+       mv ttyqf ttyv0
+       mv ptyqf ptyv0
+       ;;
+
 local)
        sh MAKEDEV.local
        ;;
 local)
        sh MAKEDEV.local
        ;;