This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.1'.
[unix-history] / etc / etc.i386 / MAKEDEV
index b06cec6..7793197 100644 (file)
@@ -37,7 +37,8 @@
 #      wd*     "winchester" disk drives (ST506,IDE,ESDI,RLL,...)
 #      fd*     "floppy" disk drives (3 1/2", 5 1/4")
 #      sd*     "scsi disks"
 #      wd*     "winchester" disk drives (ST506,IDE,ESDI,RLL,...)
 #      fd*     "floppy" disk drives (3 1/2", 5 1/4")
 #      sd*     "scsi disks"
-#      cd*     "cdrom disks"
+#      cd*     "scsi cdrom disks"
+#      mcd*    "mitsumi cdrom disks"
 #
 # Console ports:
 #      pc*     devices for stock pccons
 #
 # Console ports:
 #      pc*     devices for stock pccons
@@ -48,9 +49,8 @@
 #      psm*    PS/2 mouse
 #
 # Terminal ports:
 #      psm*    PS/2 mouse
 #
 # Terminal ports:
-#       sio*    fast interrupt PC COM ports (really makes ttyd* entries for sio)
-#       ttyd*   the same (dialin ports)
-#       cua*    the same (dialout ports)
+#       ttyd*   dialin ports
+#       cua*    dialout ports
 #       tty*    hardwired terminals
 #      com*    standard PC COM ports (really makes tty* entries for com)
 #              Note that the `com' driver is not configured in the 
 #       tty*    hardwired terminals
 #      com*    standard PC COM ports (really makes tty* entries for com)
 #              Note that the `com' driver is not configured in the 
@@ -75,7 +75,7 @@
 #      tw*     xten power controller
 #      snd*    various sound cards
 #
 #      tw*     xten power controller
 #      snd*    various sound cards
 #
-#      $Id: MAKEDEV,v 1.26 1994/02/19 13:17:03 ache Exp $
+#      $Id: MAKEDEV,v 1.28 1994/02/19 15:45:13 ache Exp $
 #
 
 PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
 #
 
 PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -86,10 +86,10 @@ case $i in
 
 all)
        sh MAKEDEV std                                          # standard
 
 all)
        sh MAKEDEV std                                          # standard
-       sh MAKEDEV wd0 wd1 fd0 fd1 ft0 wt0 sd0 sd1 st0 cd0      # bdev
+       sh MAKEDEV wd0 wd1 fd0 fd1 ft0 wt0 sd0 sd1 st0 cd0 mcd0 # bdev
        sh MAKEDEV pty0 tty0 tty1 pc0 lpt0 lpt1 lpt2            # cdev
        sh MAKEDEV ch0 tw0 bpf0 dcf0 lpa0 lpa1 lpa2             # cdev
        sh MAKEDEV pty0 tty0 tty1 pc0 lpt0 lpt1 lpt2            # cdev
        sh MAKEDEV ch0 tw0 bpf0 dcf0 lpa0 lpa1 lpa2             # cdev
-       sh MAKEDEV speaker mse0 sio2 sio3                       # cdev
+       sh MAKEDEV speaker mse0 ttyd2 ttyd3                     # cdev
        # NOTE: co0 and vty04 are not done by a "sh MAKEDEV all"
        # these are for codrv and interfere with other devices! - rgrimes
        ;;
        # NOTE: co0 and vty04 are not done by a "sh MAKEDEV all"
        # these are for codrv and interfere with other devices! - rgrimes
        ;;
@@ -377,10 +377,11 @@ ch*)
        umask 77
        ;;
 
        umask 77
        ;;
 
-cd*)
-       umask 2 ; unit=`expr $i : '..\(.*\)'`
+cd*|mcd*)
+       umask 2 ;
        case $i in
        case $i in
-       cd*) name=cd; blk=6; chr=15;;
+       cd*) unit=`expr $i : '..\(.*\)'`; name=cd; blk=6; chr=15;;
+       mcd*) unit=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
        esac
        rm -f $name$unit? r$name$unit?
        case $unit in
        esac
        rm -f $name$unit? r$name$unit?
        case $unit in
@@ -468,7 +469,7 @@ speaker)
        chown root.wheel speaker
        ;;
 
        chown root.wheel speaker
        ;;
 
-sio*|cua*|ttyd*)
+cua*|ttyd*)
        unit=`expr $i : '...d*\(.\)'`
        rm -f tty0$unit cua0$unit ttyd$unit
        mknod ttyd$unit c 28 $unit
        unit=`expr $i : '...d*\(.\)'`
        rm -f tty0$unit cua0$unit ttyd$unit
        mknod ttyd$unit c 28 $unit