Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.macppc Add com device.



details:   https://anonhg.NetBSD.org/src/rev/24420f784f82
branches:  trunk
changeset: 477206:24420f784f82
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri Oct 15 12:26:07 1999 +0000

description:
Add com device.

diffstat:

 etc/etc.macppc/MAKEDEV |  19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diffs (62 lines):

diff -r 0b70a2f34c1b -r 24420f784f82 etc/etc.macppc/MAKEDEV
--- a/etc/etc.macppc/MAKEDEV    Fri Oct 15 12:24:36 1999 +0000
+++ b/etc/etc.macppc/MAKEDEV    Fri Oct 15 12:26:07 1999 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.20 1999/10/06 22:26:15 ad Exp $
+#      $NetBSD: MAKEDEV,v 1.21 1999/10/15 12:26:07 tsubai Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -100,7 +100,7 @@
 all)
        sh $0 std fd sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 md0
        sh $0 ss0 ch0 uk0 uk1 vnd0 vnd1 ccd0 ccd1 ccd2 ccd3
-       sh $0 random tty0 tty1 pty0 pty1 adb grf0 wscons
+       sh $0 random tty00 tty01 tty10 pty0 pty1 adb grf0 wscons
        sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
        sh $0 tun0 tun1 ipl usbs
        sh $0 lkm nvram local raid0 raid1 raid2 raid3
@@ -108,7 +108,7 @@
        ;;
 
 floppy)
-       sh $0 std sd0 sd1 sd2 tty0 tty1 pty0 wscons
+       sh $0 std sd0 sd1 sd2 tty00 tty01 pty0 wscons
        sh $0 st0 st1 cd0 cd1 wd0 wd1 md0
        ;;
 
@@ -152,7 +152,6 @@
        sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyEcfg
        sh $0 wsmouse0 wsmouse1 wsmouse2 wsmouse3
        sh $0 wskbd0 wskbd1 wskbd2 wskbd3
-       sh $0 ttyEcfg
        sh $0 wsmux
        ;;
 
@@ -268,14 +267,22 @@
        chmod 600 $ttyU $dtyU $ctyU
        ;;
 
-tty*)
-       unit=${i#???}
+tty0*)
+       unit=${i#????}
        rm -f tty0$unit dty0$unit
        mknod tty0$unit c 12 $(($unit + $dialin ))
        mknod dty0$unit c 12 $(($unit + $dialout))
        chown uucp:wheel tty0$unit dty0$unit
        ;;
 
+tty1*)
+       unit=${i#????}
+       rm -f tty1$unit dty1$unit
+       mknod tty1$unit c 45 $(($unit + $dialin ))
+       mknod dty1$unit c 45 $(($unit + $dialout))
+       chown uucp:wheel tty1$unit dty1$unit
+       ;;
+
 pty*)
        class=${i#pty}
        case $class in



Home | Main Index | Thread Index | Old Index