Source-Changes-HG archive

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

[src/trunk]: src/etc Add a few devices.



details:   https://anonhg.NetBSD.org/src/rev/137fbcbfde57
branches:  trunk
changeset: 543243:137fbcbfde57
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 20 13:37:33 2003 +0000

description:
Add a few devices.

diffstat:

 etc/etc.sparc/MAKEDEV   |  57 +++++++++++++++++++++++++++++++++++++++++++++++-
 etc/etc.sparc64/MAKEDEV |  56 ++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 109 insertions(+), 4 deletions(-)

diffs (161 lines):

diff -r 293d9eb622ca -r 137fbcbfde57 etc/etc.sparc/MAKEDEV
--- a/etc/etc.sparc/MAKEDEV     Thu Feb 20 13:30:44 2003 +0000
+++ b/etc/etc.sparc/MAKEDEV     Thu Feb 20 13:37:33 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.83 2002/11/28 19:29:19 martin Exp $
+#      $NetBSD: MAKEDEV,v 1.84 2003/02/20 13:37:33 martin Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -106,7 +106,13 @@
 #      systrace syscall tracer
 #      wsmux*  wscons event multiplexor
 #      wsfont* console font control
-
+#      dpt*    DPT/Adaptec EATA RAID management interface
+#      nsmb*   SMB requester
+#      kttcp   kernel ttcp helper device
+#      dmoverio hardware-assisted data movers
+#      veriexec verified executable fingerprint loader
+#      twe     3ware Escalade control interface
+#
 dialin=0
 dialout=524288         # high bit of the minor number
 
@@ -679,6 +685,53 @@
        chmod 644 systrace
        ;;
 
+
+dpt*)
+       unit=${i#dpt}
+       rm -f dpt$unit
+       mknod dpt$unit c 132 $unit
+       chmod 600 dpt$unit
+       ;;
+
+nsmb)
+       makedev nsmb0 nsmb1 nsmb2 nsmb3
+       ;;
+
+nsmb*)
+       unit=${i#nsmb}
+       nsmb=nsmb$unit
+       major=134
+       rm -f $nsmb
+       mknod $nsmb c $major $unit
+       chmod 644 $nsmb
+       ;;
+
+
+kttcp)
+       rm -f kttcp
+       mknod kttcp c 128 0
+       chmod 600 kttcp
+       ;;
+
+dmoverio)
+       rm -f dmoverio
+       mknod dmoverio c 129 0
+       chmod 644 dmoverio
+       ;;
+
+veriexec)
+       rm -f veriexec
+       mknod veriexec c 130 0
+       chmod 644 veriexec
+       ;;
+
+twe*)
+       unit=${i#twe}
+       rm -f twe$unit
+       mknod twe$unit c 133 $unit
+       chmod 600 twe$unit
+       ;;
+
 local)
        if [ -f "$0.local" ]; then
                umask 0
diff -r 293d9eb622ca -r 137fbcbfde57 etc/etc.sparc64/MAKEDEV
--- a/etc/etc.sparc64/MAKEDEV   Thu Feb 20 13:30:44 2003 +0000
+++ b/etc/etc.sparc64/MAKEDEV   Thu Feb 20 13:37:33 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.46 2002/11/28 19:29:20 martin Exp $
+#      $NetBSD: MAKEDEV,v 1.47 2003/02/20 13:37:33 martin Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -118,9 +118,14 @@
 #      systrace syscall tracer
 #      wsmux*  wscons event multiplexor
 #      wsfont* console font control
+#      dpt*    DPT/Adaptec EATA RAID management interface
+#      nsmb*   SMB requester
+#      kttcp   kernel ttcp helper device
+#      dmoverio hardware-assisted data movers
+#      veriexec verified executable fingerprint loader
+#      twe     3ware Escalade control interface
 #
 
-
 dialin=0
 dialout=524288         # high bit of the minor number
 callunit=262144
@@ -757,6 +762,53 @@
        chmod 644 systrace
        ;;
 
+
+dpt*)
+       unit=${i#dpt}
+       rm -f dpt$unit
+       mknod dpt$unit c 132 $unit
+       chmod 600 dpt$unit
+       ;;
+
+nsmb)
+       makedev nsmb0 nsmb1 nsmb2 nsmb3
+       ;;
+
+nsmb*)
+       unit=${i#nsmb}
+       nsmb=nsmb$unit
+       major=134
+       rm -f $nsmb
+       mknod $nsmb c $major $unit
+       chmod 644 $nsmb
+       ;;
+
+
+kttcp)
+       rm -f kttcp
+       mknod kttcp c 128 0
+       chmod 600 kttcp
+       ;;
+
+dmoverio)
+       rm -f dmoverio
+       mknod dmoverio c 129 0
+       chmod 644 dmoverio
+       ;;
+
+veriexec)
+       rm -f veriexec
+       mknod veriexec c 130 0
+       chmod 644 veriexec
+       ;;
+
+twe*)
+       unit=${i#twe}
+       rm -f twe$unit
+       mknod twe$unit c 133 $unit
+       chmod 600 twe$unit
+       ;;
+
 local)
        if [ -f "$0.local" ]; then
                umask 0



Home | Main Index | Thread Index | Old Index