Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sparc64 Add tty for sab.



details:   https://anonhg.NetBSD.org/src/rev/f00442447473
branches:  trunk
changeset: 535377:f00442447473
user:      petrov <petrov%NetBSD.org@localhost>
date:      Fri Aug 16 17:56:56 2002 +0000

description:
Add tty for sab.

diffstat:

 etc/etc.sparc64/MAKEDEV |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r b4f64bf4a2eb -r f00442447473 etc/etc.sparc64/MAKEDEV
--- a/etc/etc.sparc64/MAKEDEV   Fri Aug 16 15:25:53 2002 +0000
+++ b/etc/etc.sparc64/MAKEDEV   Fri Aug 16 17:56:56 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.38 2002/08/09 02:39:33 lukem Exp $
+#      $NetBSD: MAKEDEV,v 1.39 2002/08/16 17:56:56 petrov Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -61,6 +61,7 @@
 # Terminals:
 #      tty*    Z88530 serial controllers
 #      ttyC*   NS16550 serial controllers
+#      ttyh*   SAB82532 serial controllers
 # Pseudo terminals:
 #      pty*    set of 62 master and slave pseudo terminals
 #      opty    first 16 ptys, to save inodes on install media
@@ -119,7 +120,7 @@
 case $i in
 
 all)
-       sh -$- $0 std ttya ttyb ttyc ttyd ttyC00 ttyC01
+       sh -$- $0 std ttya ttyb ttyc ttyd ttyC00 ttyC01 ttyh0 ttyh1
        sh -$- $0 fd sd0 sd1 sd2 sd3 sd4 ss0 ch0 uk0 uk1
        sh -$- $0 wd0 wd1 wd2 wd3 cd0 st0 st1 fd0 md0 md1
        sh -$- $0 audio0 audio1 audio2 audio3
@@ -193,6 +194,14 @@
        chown uucp ttyC$unit dtyC$unit
        ;;
 
+ttyh*)
+       unit=${i#ttyh}
+       rm -f ttyh$unit dtyh$unit
+       mknod ttyh$unit c 77 $(($unit + $dialin ))
+       mknod dtyh$unit c 77 $(($unit + $dialout))
+       chown uucp ttyh$unit dtyh$unit
+       ;;
+
 fd)
        if $nofdesc; then
                rm -f fd/*



Home | Main Index | Thread Index | Old Index