Replaced all references to comxx with ttyxx, since that is what all the
authorRod Grimes <rgrimes@FreeBSD.org>
Sun, 5 Sep 1993 15:53:39 +0000 (15:53 +0000)
committerRod Grimes <rgrimes@FreeBSD.org>
Sun, 5 Sep 1993 15:53:39 +0000 (15:53 +0000)
other tools really want.

Targets sio*) and com*) now create entry named ttyxx, default setup with
a sh MAKEDEV all is to use the sio major numbers, com is all but depreicated
now.

etc/etc.i386/MAKEDEV

index c43d26a..5d735c8 100644 (file)
@@ -44,9 +44,9 @@
 #      vty*    virtual console devices for codrv (cleans up pc devices)
 # 
 # Terminal ports:
 #      vty*    virtual console devices for codrv (cleans up pc devices)
 # 
 # Terminal ports:
-#      com*    standard PC COM ports
-#      tty*    alias for PC COM ports, this is what the system really wants
-#      sio*    fast interrupt PC COM ports
+#      com*    standard PC COM ports (really makes tty* entries for com)
+#      sio*    fast interrupt PC COM ports (really makes tty* entries for sio)
+#      tty*    alias for sio ports, this is what the system really wants
 #
 # Pseudo terminals:
 #      pty*    set of 16 master and slave pseudo terminals
 #
 # Pseudo terminals:
 #      pty*    set of 16 master and slave pseudo terminals
@@ -64,7 +64,7 @@
 #      speaker pc speaker
 #      tw*     xten power controller
 #
 #      speaker pc speaker
 #      tw*     xten power controller
 #
-#      $Id$
+#      $Id: MAKEDEV,v 1.5 1993/08/30 07:48:38 rgrimes Exp $
 #
 
 PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
 #
 
 PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -149,12 +149,11 @@ as*|fd*|sd*|wd*)
        umask 77
        ;;
 
        umask 77
        ;;
 
-com*|tty*)
+com*)
        unit=`expr $i : '...\(.*\)'`
        unit=`expr $i : '...\(.*\)'`
-       rm -f com0$unit tty0$unit
-       mknod com0$unit c 8 $unit
+       rm -f tty0$unit
        mknod tty0$unit c 8 $unit
        mknod tty0$unit c 8 $unit
-       chown uucp.wheel com0$unit tty0$unit
+       chown uucp.wheel tty0$unit
        ;;
 
 pty*)
        ;;
 
 pty*)
@@ -360,11 +359,11 @@ speaker)
        chown root.wheel speaker
        ;;
 
        chown root.wheel speaker
        ;;
 
-sio*)
+sio*|tty*)
        unit=`expr $i : '...\(.*\)'`
        unit=`expr $i : '...\(.*\)'`
-       rm -f sio0$unit
-       mknod sio0$unit c 28 $unit
-       chown uucp.wheel sio0$unit
+       rm -f tty0$unit
+       mknod tty0$unit c 28 $unit
+       chown uucp.wheel tty0$unit
        ;;
 
 local)
        ;;
 
 local)