This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.1'.
[unix-history] / etc / etc.i386 / MAKEDEV
index 71c4b68..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,8 +49,9 @@
 #      psm*    PS/2 mouse
 #
 # Terminal ports:
 #      psm*    PS/2 mouse
 #
 # Terminal ports:
-#      sio*    fast interrupt PC COM ports (really makes tty* entries for sio)
-#      tty*    alias for sio ports, this is what the system really wants
+#       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 
 #              supplied kernels and is usually not what you want.  In
 #      com*    standard PC COM ports (really makes tty* entries for com)
 #              Note that the `com' driver is not configured in the 
 #              supplied kernels and is usually not what you want.  In
@@ -73,7 +75,7 @@
 #      tw*     xten power controller
 #      snd*    various sound cards
 #
 #      tw*     xten power controller
 #      snd*    various sound cards
 #
-#      $Id: MAKEDEV,v 1.22 1994/01/10 18:11:30 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:
@@ -84,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 pty0 tty0 tty1 tty2 tty3 pc0 lpt0 lpt1 lpt2  # cdev
+       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 ch0 tw0 bpf0 dcf0 lpa0 lpa1 lpa2             # cdev
-       sh MAKEDEV speaker mse0 sio0 sio1 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
        ;;
@@ -375,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
@@ -466,12 +469,20 @@ speaker)
        chown root.wheel speaker
        ;;
 
        chown root.wheel speaker
        ;;
 
-sio*|tty*|cua*)
-       unit=`expr $i : '...\(.*\)'`
-       rm -f tty0$unit cua0$unit
-       mknod tty0$unit c 28 $unit
+cua*|ttyd*)
+       unit=`expr $i : '...d*\(.\)'`
+       rm -f tty0$unit cua0$unit ttyd$unit
+       mknod ttyd$unit c 28 $unit
        mknod cua0$unit c 28 `expr $unit + 128`
        mknod cua0$unit c 28 `expr $unit + 128`
-       chown uucp.wheel tty0$unit cua0$unit
+       chown uucp.wheel ttyd$unit cua0$unit
+       ;;
+
+tty*)
+       unit=`expr $i : 'tty\(.\)'`
+       rm -f tty0$unit cua0$unit ttyd$unit
+       umask 0
+       mknod tty0$unit c 28 $unit
+       umask 77
        ;;
 
 mse*)
        ;;
 
 mse*)