Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sbmips Add the sysmon device.



details:   https://anonhg.NetBSD.org/src/rev/39c7317c8116
branches:  trunk
changeset: 534636:39c7317c8116
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Jul 31 05:02:12 2002 +0000

description:
Add the sysmon device.

diffstat:

 etc/etc.sbmips/MAKEDEV |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 0013e2728a3c -r 39c7317c8116 etc/etc.sbmips/MAKEDEV
--- a/etc/etc.sbmips/MAKEDEV    Wed Jul 31 04:07:20 2002 +0000
+++ b/etc/etc.sbmips/MAKEDEV    Wed Jul 31 05:02:12 2002 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV,v 1.6 2002/07/11 00:19:08 simonb Exp $
+#      $NetBSD: MAKEDEV,v 1.7 2002/07/31 05:02:12 simonb Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -107,6 +107,7 @@
 #      uk*     unknown SCSI device
 #      systrace syscall tracer
 #      kttcp   kernel ttcp helper
+#      sysmon  System Monitoring hardware
 
 dialin=0
 dialout=524288
@@ -140,6 +141,7 @@
        sh $0 clockctl
        sh $0 systrace
        sh $0 kttcp
+       sh $0 sysmon
        ;;
 
 minimal)
@@ -627,6 +629,17 @@
        chmod 600 kttcp
        ;;
 
+sysmon)
+       major=74
+       rm -f sysmon
+       mknod sysmon c $major 0
+       chmod 644 sysmon
+
+       rm -f watchdog
+       mknod watchdog c $major 1
+       chmod 644 watchdog
+       ;;
+
 local)
        umask 0
        sh $0.local all



Home | Main Index | Thread Index | Old Index