Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.i386 Make urio(4) device node.



details:   https://anonhg.NetBSD.org/src/rev/e2dc1a3d9d13
branches:  trunk
changeset: 485638:e2dc1a3d9d13
user:      augustss <augustss%NetBSD.org@localhost>
date:      Tue May 02 11:59:40 2000 +0000

description:
Make urio(4) device node.

diffstat:

 etc/etc.i386/MAKEDEV |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 2c42e530da10 -r e2dc1a3d9d13 etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Tue May 02 11:54:15 2000 +0000
+++ b/etc/etc.i386/MAKEDEV      Tue May 02 11:59:40 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.107 2000/04/29 00:10:37 abs Exp $
+#      $NetBSD: MAKEDEV,v 1.108 2000/05/02 11:59:40 augustss Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -169,6 +169,7 @@
        sh $0 uhid0 uhid1 uhid2 uhid3
        sh $0 ulpt0 ulpt1
        sh $0 ttyU0 ttyU1
+       sh $0 urio0
        ;;
 
 std)
@@ -225,6 +226,16 @@
        chmod 600 $ulpt
        ;;
 
+urio*)
+       unit=${i#urio}
+       urio=urio$unit
+       major=70
+       rm -f $urio
+       mknod $urio c $major $unit
+       chown root.wheel $urio
+       chmod 666 $urio
+       ;;
+
 ttyU*)
        unit=${i#ttyU}
        ttyU=ttyU$unit



Home | Main Index | Thread Index | Old Index