Source-Changes-HG archive

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

[src/trunk]: src/etc Add sysmon.



details:   https://anonhg.NetBSD.org/src/rev/23bf909189af
branches:  trunk
changeset: 546102:23bf909189af
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 20 17:03:32 2003 +0000

description:
Add sysmon.

diffstat:

 etc/etc.sparc/MAKEDEV   |  20 +++++++++++++++++++-
 etc/etc.sparc64/MAKEDEV |  20 +++++++++++++++++++-
 2 files changed, 38 insertions(+), 2 deletions(-)

diffs (100 lines):

diff -r 674a6fe661c0 -r 23bf909189af etc/etc.sparc/MAKEDEV
--- a/etc/etc.sparc/MAKEDEV     Sun Apr 20 16:54:23 2003 +0000
+++ b/etc/etc.sparc/MAKEDEV     Sun Apr 20 17:03:32 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.86 2003/04/17 18:03:20 fvdl Exp $
+#      $NetBSD: MAKEDEV,v 1.87 2003/04/20 17:03:32 martin Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -112,6 +112,7 @@
 #      dmoverio hardware-assisted data movers
 #      veriexec verified executable fingerprint loader
 #      twe     3ware Escalade control interface
+#      sysmon  System Monitoring hardware
 #
 dialin=0
 dialout=524288         # high bit of the minor number
@@ -152,6 +153,7 @@
        makedev bwtwo1 cgthree1 cgsix1 tcx1
        makedev cgtwo0 cgfour0 cgeight0
        makedev scsibus0 scsibus1 scsibus2 scsibus3
+       makedev sysmon
        makedev lkm random local ipl cfs0 apm apmctl tctrl0
        makedev isdns
        makedev pci0
@@ -611,6 +613,22 @@
        chmod 600 bpp$unit
        ;;
 
+
+sysmon)
+       major=135
+       rm -f sysmon
+       mknod sysmon c $major 0
+       chmod 644 sysmon
+
+       rm -f watchdog
+       mknod watchdog c $major 1
+       chmod 644 watchdog
+
+       rm -f power
+       mknod power c $major 2
+       chmod 640 power
+       ;;
+
 scsibus*)
        unit=${i#scsibus}
        rm -f scsibus$unit
diff -r 674a6fe661c0 -r 23bf909189af etc/etc.sparc64/MAKEDEV
--- a/etc/etc.sparc64/MAKEDEV   Sun Apr 20 16:54:23 2003 +0000
+++ b/etc/etc.sparc64/MAKEDEV   Sun Apr 20 17:03:32 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.49 2003/04/17 18:03:21 fvdl Exp $
+#      $NetBSD: MAKEDEV,v 1.50 2003/04/20 17:03:32 martin Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -124,6 +124,7 @@
 #      dmoverio hardware-assisted data movers
 #      veriexec verified executable fingerprint loader
 #      twe     3ware Escalade control interface
+#      sysmon  System Monitoring hardware
 #
 
 dialin=0
@@ -165,6 +166,7 @@
        makedev bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
        makedev cgeight0 tcx0
        makedev scsibus0 scsibus1 scsibus2 scsibus3
+       makedev sysmon
        makedev ipl lkm random local
        makedev usbs
        makedev isdns
@@ -614,6 +616,22 @@
        mknod $name$unit        c $chr $(($unit + $flags))
        ;;
 
+
+sysmon)
+       major=135
+       rm -f sysmon
+       mknod sysmon c $major 0
+       chmod 644 sysmon
+
+       rm -f watchdog
+       mknod watchdog c $major 1
+       chmod 644 watchdog
+
+       rm -f power
+       mknod power c $major 2
+       chmod 640 power
+       ;;
+
 scsibus*)
        unit=${i#scsibus}
        rm -f scsibus$unit



Home | Main Index | Thread Index | Old Index