Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sparc Add ttyC? devices for com devices.



details:   https://anonhg.NetBSD.org/src/rev/3871e19cecd7
branches:  trunk
changeset: 475071:3871e19cecd7
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jul 31 00:00:03 1999 +0000

description:
Add ttyC? devices for com devices.

diffstat:

 etc/etc.sparc/MAKEDEV |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r e5f97863abe4 -r 3871e19cecd7 etc/etc.sparc/MAKEDEV
--- a/etc/etc.sparc/MAKEDEV     Fri Jul 30 23:58:25 1999 +0000
+++ b/etc/etc.sparc/MAKEDEV     Sat Jul 31 00:00:03 1999 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.46 1999/04/26 04:20:04 abs Exp $
+#      $NetBSD: MAKEDEV,v 1.47 1999/07/31 00:00:03 matt Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -142,6 +142,14 @@
        chown uucp.wheel tty$unit dty$unit
        ;;
 
+ttyC*)
+        unit=${i#ttyC}
+        rm -f ttyC$unit dtyC$unit
+        mknod ttyC$unit c 36 $(($unit + $dialin ))
+        mknod dtyC$unit c 36 $(($unit + $dialout))
+        chown uucp.wheel ttyC$unit dtyC$unit
+       ;;
+
 fd)
        rm -f fd/*
        mkdir fd > /dev/null 2>&1



Home | Main Index | Thread Index | Old Index